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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章