sublime模板設置
<snippet>
<content><![CDATA[
Hello, ${1:this} is a ${2:snippet}.
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
其中:
<![CDATA[
中間寫的你的開頭模板
]]>
這個爲你的快捷鍵,一般是輸入此hello +tab就會出現模板
<tabTrigger>hello</tabTrigger>
設置完或保存即可。
pycharm 切換Python版本
博主URL:https://jingyan.baidu.com/article/cdddd41cb68a6953cb00e181.html
sublime設置Python編譯版本
文件中寫入如下:
{
"working_dir": "$file_path",
"shell_cmd": "C:\\xx\\xxxx\\python.exe -u \"$file\"",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "utf-8",
}
然後保存,再通過Tool---->Build System—>切換剛纔保存的編譯版本即可
sublime如何設置快捷鍵
如下快捷鍵是調出來運行窗口
[
{ "keys": ["ctrl+q"], "command": "show_panel", "args": {"panel": "output.exec"} }
]