先安装 sublime REPL, 然后在用户自定义的键绑定中更新为以下代码:

[
    { "keys": ["super+shift+r"], "command": "repl_open", 
                 "caption": "Python",
                 "mnemonic": "p",
                 "args": {
                    "type": "subprocess",
                    "encoding": "utf8",
                    "cmd": ["python", "-i", "-u", "$file"],
                    "cwd": "$file_path",
                    "syntax": "Packages/Python/Python.tmLanguage",
                    "external_id": "python"
                    } 
    }
]

 来自 stackoverflow

相关文章:

  • 2021-12-03
  • 2021-10-02
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2021-11-03
猜你喜欢
  • 2021-09-23
  • 2021-08-26
  • 2021-12-01
  • 2021-12-29
  • 2021-10-31
  • 2021-07-24
相关资源
相似解决方案