首页 > 技术文章 > Sublime Text3下使用Python,REPL的安装与快捷键设置方法

BH8ANK 2018-03-20 19:44 原文

前提条件:连接外网
 
1.安装管理插件(CTRL+SHIFT+P),找到Package Control:install package一项,回车后继续选择SublimeREPL插件,进行安装;
 
2.给REPL设置一个F5的快捷键。
在preferences下选择Key Bindings-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"
}}
]

 

 

 

推荐阅读