美文网首页
sublimerepl 插件实现代码交互

sublimerepl 插件实现代码交互

作者: 阿猹在路上 | 来源:发表于2019-02-26 10:59 被阅读0次

插件网址---   https://github.com/wuub/SublimeREPL

插件文档---  https://sublimerepl.readthedocs.io/en/latest/

进行相应的快捷键绑定-----

打开key bindings ----

[

    {

        // 运行py文件

    "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": ["f8"],

    "caption": "SublimeREPL: Python - PDB current file",

    "command": "run_existing_window_command",

    "args": {

        "id": "repl_python_pdb",

        "file": "config/Python/Main.sublime-menu"}

    }, 

    {

        // 设置ipython的 环境

    "keys": ["f4"],

    "caption": "SublimeREPL: Python - IPython",

    "command": "run_existing_window_command",

    "args": {

        "id": "repl_python_ipython",

        "file": "config/Python/Main.sublime-menu"}

    },

    {

        // 打开 shell 环境

    "keys": ["f1"],

    "caption": "SublimeREPL: Shell",

    "command": "run_existing_window_command",

    "args": {

        "id": "repl_shell",

        "file": "config/shell/Main.sublime-menu"}

    },

]

加入这些代码即可

相关文章

网友评论

      本文标题:sublimerepl 插件实现代码交互

      本文链接:https://www.haomeiwen.com/subject/rqzoyqtx.html