先安装 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" } } ]
时间: 2024-10-29 12:01:40