美文网首页
SublimeREPL 用快捷键来运行python脚本

SublimeREPL 用快捷键来运行python脚本

作者: leoatchina | 来源:发表于2015-10-22 21:57 被阅读137次

配置user.keybiding

[ 
{   
    "keys": ["f9"],  
    "command": "repl_open", 
    "id": "repl_python_run", 
    "mnemonic": "d", 
    "args":{ 
        "type": "subprocess", 
        "encoding": "utf8", 
        "cmd": ["python", "-u", "$file_basename"], 
        "cwd": "$file_path", 
        "syntax": "Packages/Python/Python.tmLanguage", 
        "external_id": "python" 
    } 
}  
]

相关文章

网友评论

      本文标题:SublimeREPL 用快捷键来运行python脚本

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