.sumblime text 中的package control 插件包控件的安装
步骤一:
Ctrl+` 调出console
粘贴代码:
import urllib.request,os; pf = ‘PackageControl.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())
步骤二:
Ctrl+shift+P调出命令面板
(1)汉化,加载Chinese localization直接进行汉化
(2)GBK编码 加载插件 converttoUTF8
(3)对齐aligment
(4)主题themeflatland
(5)注释docblocker
时间: 2024-10-06 14:48:12