ITPub博客

首页 > 应用开发 > IT综合 > 安装SublimeREPL

安装SublimeREPL

IT综合 作者:studywell 时间:2017-02-16 16:47:50 0 删除 编辑

sublime 下与python交互
本版本无法采用自动安装模式,只能采用直接下载包的方式;
在GitHub上下载,网址为https://github.com/wuub/SublimeREPL,点击右栏的DOWNLOAD ZIP 下载到电脑,然后解压到安装目录下的Data\Packages下。
在sublime下,通过选项Tools->SublimeREPL->Python就可以看到效果了。
关于键位绑定:
尝试了下,未成功,先记录下。

F1键命令行:

打开Preferences->Key Bindings-User,复制如下代码:
{"keys":["f1"],
"caption": "SublimeREPL: Python",
"command": "run_existing_window_command", "args":
{"id": "repl_python",
"file": "config/Python/Main.sublime-menu"}}


F2键编译代码
{"keys":["f2"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command", "args":
{"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"}}








来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29519108/viewspace-2133686/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: sublime配置记录
请登录后发表评论 登录
全部评论

注册时间:2014-03-04

  • 博文量
    307
  • 访问量
    535421