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"} }
]