汉化插件 点击 View> Show Console输入import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)如果报错再来一次 代码对齐代码格式化插件 点击 首选项 > Package Control输入 install package再输入插件名称:TAG点击安装插件。稍等片刻插件安装成功后,在需要格式化代码中,选中代码,然后按Ctrl+Alt+F对代码进行格式化。 转载于:https://www.cnblogs.com/JNUX/p/4917543.html