前提條件:連接外網
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"
}}
]
