sublime text 配置

[亡魂溺海] 提交于 2019-12-10 18:05:53

安装package control


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())


    Sublime Text 3:

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())

    Sublime Text 2:

import urllib2,os; pf='Package Control.sublime-package'; ipp = 

sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) 

else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( 

))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 

'http://sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please 

restart Sublime Text to finish installation')


http://www.cnblogs.com/dolphin0520/archive/2013/04/29/3046237.html


3.Terminal插件


  Terminal插件可以允许在Sublime Text2中打开cmd命令窗口,很实用的一个插件,安装好该插件好,打开cmd命令窗口的快捷键是


中文插件:

ConvertToUTF8


AndyPython

GBK Encoding Support

SublimeCodeIntel

SublimeREPL

Terminal

SideBarEnhancements

Package Control


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!