V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
css3
V2EX  ›  程序员

sublime 升级 3200 后,自定义的快捷键失效了??

  •  
  •   css3 · 2019-03-21 09:46:06 +08:00 · 2831 次点击
    这是一个创建于 2056 天前的主题,其中的信息可能已经有所发展或是发生改变。

    3146 正常使用的以下快捷键,在线升级了 3200 后,失效了, ps: 肯定是已经安装了 SublimeREPL, 是哪里需要改动适配 3200 吗?

    // Default(Windows).sublime-keymap-User
    [ {"keys":["f5"],
        "caption": "SublimeREPL: Python - RUN current file",
        "command": "run_existing_window_command", "args":
        {
        "id": "repl_python_run",
        "file": "config/Python/Main.sublime-menu"
        }
    },{"keys":["f6"],
        "caption": "SublimeREPL: Python",
        "command": "run_existing_window_command", "args":
        {
        "id": "repl_python",
        "file": "config/Python/Main.sublime-menu"
        }
    },{"keys":["f7"],
        "caption": "SublimeREPL: Shell",
        "command": "run_existing_window_command", "args":
        {
        "id": "repl_shell",
        "file": "config/Shell/Main.sublime-menu"
        }
    }]
    
    // Main.sublime-menu
    [
         {
            "id": "tools",
            "children":
            [{
                "caption": "SublimeREPL",
                "mnemonic": "R",
                "id": "SublimeREPL",
                "children":
                [
                    {"caption": "Python",
                    "id": "Python",
    
                     "children":[
                        {"command": "repl_open",
                         "caption": "Python",
                         "id": "repl_python",
                         "mnemonic": "P",
                         "args": {
                            "type": "subprocess",
                            "encoding": "utf8",
                            "cmd": ["python", "-i", "-u"],
                            "cwd": "$file_path",
                            "syntax": "Packages/Python/Python.tmLanguage",
                            "external_id": "python",
                            "extend_env": {"PYTHONIOENCODING": "utf-8"}
                            }
                        },
                        {"command": "python_virtualenv_repl",
                         "id": "python_virtualenv_repl",
                         "caption": "Python - virtualenv"},
                        {"command": "repl_open",
                         "caption": "Python - PDB current file",
                         "id": "repl_python_pdb",
                         "mnemonic": "D",
                         "args": {
                            "type": "subprocess",
                            "encoding": "utf8",
                            "cmd": ["python", "-i", "-u", "-m", "pdb", "$file_basename"],
                            "cwd": "$file_path",
                            "syntax": "Packages/Python/Python.tmLanguage",
                            "external_id": "python",
                            "extend_env": {"PYTHONIOENCODING": "utf-8"}
                            }
                        },
                        {"command": "repl_open",
                         "caption": "Python - RUN current file",
                         "id": "repl_python_run",
                         "mnemonic": "R",
                         "args": {
                            "type": "subprocess",
                            "encoding": "utf8",
                            "cmd": ["python", "-u", "$file_basename"],
                            "cwd": "$file_path",
                            "syntax": "Packages/Python/Python.tmLanguage",
                            "external_id": "python",
                            "extend_env": {"PYTHONIOENCODING": "utf-8"}
                            }
                        },
                        {"command": "repl_open",
                         "caption": "Python - IPython",
                         "id": "repl_python_ipython",
                         "mnemonic": "I",
                         "args": {
                            "type": "subprocess",
                            "encoding": "utf8",
                            "autocomplete_server": true,
                            "cmd": {
                                "osx": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"],
                                "linux": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"],
                                "windows": ["python", "-u", "${packages}/SublimeREPL/config/Python/ipy_repl.py"]
                            },
                            "cwd": "$file_path",
                            "syntax": "Packages/Python/Python.tmLanguage",
                            "external_id": "python",
                            "extend_env": {
                                "PYTHONIOENCODING": "utf-8",
                                "SUBLIMEREPL_EDITOR": "$editor"
                            }
                        }
                        }
                    ]}
                ]
            }]
        }
    ]
    
    
    12 条回复    2019-03-22 08:41:48 +08:00
    XxxxD
        1
    XxxxD  
       2019-03-21 10:00:10 +08:00
    不造,习惯 3126 版本,"update_check": false
    GTim
        2
    GTim  
       2019-03-21 11:58:09 +08:00
    对不起,我不知道,我都是使用系统的快捷键,也没怎么设置自己的快捷键

    题外话

    还有 SB 党,我表示万分欣慰~~~~ 我这个 SB 党还有伴
    mountainmoon
        3
    mountainmoon  
       2019-03-21 12:15:05 +08:00
    曾经我也是个 SB 党,当时还对 vscode 还挺排斥的,以为微软又造了什么重复的轮子。用了 vscode 一段时间之后,禁不住发出一声感叹,”真香“!
    jdhao
        4
    jdhao  
       2019-03-21 12:39:21 +08:00 via Android
    我也用 Sublime,不过我用的是 developer version
    mnssbe
        5
    mnssbe  
       2019-03-21 13:17:13 +08:00
    换 vscode
    HymanZXC
        6
    HymanZXC  
       2019-03-21 13:17:23 +08:00 via Android
    @mountainmoon 真香加一,不过方向不同,原来是 vs/pycharm 党,现在已经离不开 vscode 了,不得不说微软用心的话做开发工具真的有一套
    youngxu
        7
    youngxu  
       2019-03-21 13:20:32 +08:00 via Android
    SB 党是什么叫法?不应该是 ST 党吗…
    zhea55
        8
    zhea55  
       2019-03-21 13:21:41 +08:00
    打开控制台,按快捷键以后,看看报什么错了。
    ncepuzs
        9
    ncepuzs  
       2019-03-21 13:22:13 +08:00
    叫 ST +1
    Jumaluata
        10
    Jumaluata  
       2019-03-21 15:54:48 +08:00
    前几天弹出更新弹窗还愣了一下,上次发布更新还是 14 May 2018,以为都停更了。
    不过我没用过自定义的快捷键
    jfcherng
        11
    jfcherng  
       2019-03-22 06:12:51 +08:00
    BUILD 3202
    21 March 2019

    // ............
    API: Fixed an incompatibility with SublimeREPL
    css3
        12
    css3  
    OP
       2019-03-22 08:41:48 +08:00 via iPhone
    @jfcherng 我擦,又更新了?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5500 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:41 · PVG 16:41 · LAX 00:41 · JFK 03:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.