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