- 打开Sublime text 3 安装package control
- 安装 SublimeREPL
Ctrl+shift+p 键入 install packages
稍等片刻后 键入 SublimeREPL 安装即可
通过选项Tools->SublimeREPL->Python就可以看到效果了 - 键位绑定
打开Preferences->Key Bindings-User
[{"keys":["f1"],
"caption": "SublimeREPL: Python",
"command": "run_existing_window_command", "args":
{"id": "repl_python","file": "config/Python/Main.sublime-menu"}
},
{"keys":["f2"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command", "args":
{"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"}}]
网友评论