还是电脑重新装系统,安装sublime text2的步骤
在官网下载sublime text2
百度出注册码在help栏中找出,输入验证注册并注册
----- BEGIN LICENSE -----
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
90F5CC94 1CDC92DC 8457107A F151657B
1D22E383 A997F016 42397640 33F41CFC
E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D
5CDB7036 E56DE1C0 EFCC0840 650CD3A6
B98FC99C 8FAC73EE D2B95564 DF450523
------ END LICENSE ------
依次安装各种插件:
安装Sublime text 2插件很方便,可以直接下载安装包解压缩到Packages目录(菜单->preferences->packages)。
也可以安装package control组件,然后直接在线安装:
import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())
// Disables horizontal scrolling if enabled. // May be set to true, false, or "auto", where it will be disabled for // source code, and otherwise enabled. // 是否自动换行,如果选auto,需要加双引号 "word_wrap": true,
// Additional spacing at the top of each line, in pixels // 设置每一行到顶部,以像素为单位的间距,效果相当于行距 "line_padding_top": 2, // Additional spacing at the bottom of each line, in pixels // 设置每一行到底部,以像素为单位的间距,效果相当于行距 "line_padding_bottom": 2,
// 字体美化
{
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
// "font_face": "Calibri",
"font_face": "Consolas",
"font_size": 13,
"ignored_packages":
[
"Vintage"
],
"line_padding_bottom": 3.5,
"line_padding_top": 3.5
}