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

2019-03-21 09:46:06 +08:00
 css3

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"
                        }
                    }
                    }
                ]}
            ]
        }]
    }
]

2688 次点击
所在节点    程序员
12 条回复
XxxxD
2019-03-21 10:00:10 +08:00
不造,习惯 3126 版本,"update_check": false
GTim
2019-03-21 11:58:09 +08:00
对不起,我不知道,我都是使用系统的快捷键,也没怎么设置自己的快捷键

题外话

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

// ............
API: Fixed an incompatibility with SublimeREPL
css3
2019-03-22 08:41:48 +08:00
@jfcherng 我擦,又更新了?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/546853

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX