sublime中部分功能设置(持续跟新)

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

发布了20 篇原创文章 · 获赞 2 · 访问量 581

猜你喜欢

转载自blog.csdn.net/qq_36495121/article/details/103956942