配置sublime text3(for python)

时间:2021-09-24 03:20:29

配置sublime text3(for python)


1 package cotrol包控制
2 Comert To UTF8正常显示中文
3 Theme-Brogrammer黑色主题
4 sublimeLinter代码检测
(sublimerLinter-pyflakes  sublimerLinter-pep8)
5 Synced Sidebarby侧边栏同色

6 Anaconda需要网页去下载 科学计算包 里面包含pandas numpy scipy 等
7 Sublime REPL运行


1激活
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
200C25BE DBBC4855 C4CFB774 C5EC138C
0FEC1CEF D9DCECEC D3A5DAD1 01316C36
—— END LICENSE ——


2 取消更新提示
点击菜单栏“Preferences”=> "Settings-User" 进入个人参数设置页面;
"update_check": false,


3 key buiding user
[


{"keys":["f1"],
"caption": "SublimeREPL: Python",
"command": "run_existing_window_command", "args":
{"id": "repl_python",
"file": "config/Python/Main.sublime-menu"}}
,
{"keys":["f5"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command", "args":
{"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"}}


,
{ "keys": ["alt+b"], "command": "exec", "args": {"kill": true} }


]




4 下载package control插件的方法
快捷键ctrl+` 或者View->Show Console,输入如下代码(sublime text3)
import  urllib.request,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();urllib.request.install_opener(urllib.request.build_opener(urllib.request.ProxyHandler()));open(os.path.join(ipp,pf),'wb').write(urllib.request.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())





1 package cotrol包控制
2 Comert To UTF8正常显示中文
3 Theme-Brogrammer黑色主题
4 sublimeLinter代码检测


(sublimerLinter-pyflakes  sublimerLinter-pep8)
5 Synced Sidebarbg侧边栏同色
6 Anaconda需要网页去下载 科学计算包 里面包含pandas numpy scipy 等
7 Sublime REPL运行