作者:wing96333 | 来源:互联网 | 2023-05-17 22:27
1.sublimetext3安装sudoadd-apt-repositoryppa:webupd8teamsublime-text-3sudoapt-getupd
1.sublime text3安装
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update #更新软件库
sudo apt-get install sublime-text-installer #安装Sublime Text 3
2.
插件安装
3.修改为可用中文输入法
# 步骤一
git clone https://github.com/lyfeyaj/sublime-text-imfix.git
# 步骤二
cd ~/sublime-text-imfix (前提:解压后的sublime-text-imfix必须在~目录下)
sudo cp ./lib/libsublime-imfix.so /opt/sublime_text/
sudo cp ./src/subl /usr/bin/
4.中文错位问题
preferences -> setting ,在Preferences.sublime-setting-User里,"ignored_packages"前添加“font_face”:"Microsoft YaHei"
5.修改Python Build System:
工具栏 Tools -> Build System -> New Build System.. -> 将大括号内替换为一下内容
"cmd": ["python路径(一般为/usr/bin/python)","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",