Sublime Text 3 安装简记

1、下载:( Sublime Text Version 3.1.1 Build 3176 )

https://www.sublimetext.com/3

2、安装Package Control:

"View" --> "Show Console menu" (Ctrl + `)
https://packagecontrol.io/installation

3、安装常用插件包:

"Preferences" --> "Package Control" --> "Package Control:Install Package"
ChineseLocalizations
ConvertToUTF8
JsFormat

4、更改hosts文件,增加如下条目:

127.0.0.1	sublimehq.com
127.0.0.1 sublimetext.com
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
127.0.0.1 telemetry.sublimehq.com
127.0.0.1 45.55.255.55
127.0.0.1 45.55.41.223
0.0.0.0 45.55.255.55
0.0.0.0 45.55.41.223

5、激活码:

----- BEGIN LICENSE -----
sgbteam
Single User License
EA7E-1153259
8891CBB9 F1513E4F 1A3405C1 A865D53F
115F202E 7B91AB2D 0D2A40ED 352B269B
76E84F0B CD69BFC7 59F2DFEF E267328F
215652A3 E88F9D8F 4C38E3BA 5B2DAAE4
969624E7 DC9CD4D5 717FB40C 1B9738CF
20B3C4F1 E917B5B3 87C38D9C ACCE7DD8
5F7EF854 86B9743C FADC04AA FB0DA5C0
F913BE58 42FEA319 F954EFDD AE881E0B
------ END LICENSE ------

6、禁止自动升级(升级后原来的Key就不能用了^_^):

首选项 --> 设置 --> Preferences.sublime-settings -- User
添加 "update_check":false,

7、添加到右键菜单:

@ECHO OFF
PUSHD %~DP0
TITLE Sublime Text
Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行&&Pause >NUL&&Exit)
Rd "%WinDir%\System32\test_permissions" 2>NUL
SetLocal EnableDelayedExpansion
SET /P ST=输入a添加右键菜单,输入d删除右键菜单:
if /I "%ST%"=="a" goto Add
if /I "%ST%"=="d" goto Remove
:Add
reg add "HKEY_CLASSES_ROOT\*\shell\Sublime Text" /t REG_SZ /v "" /d "&Sublime Text" /f
reg add "HKEY_CLASSES_ROOT\*\shell\Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%~dp0sublime_text.exe" /f
reg add "HKEY_CLASSES_ROOT\*\shell\Sublime Text\command" /t REG_SZ /v "" /d "%~dp0sublime_text.exe \"%%1\"" /f
exit
:Remove
reg delete "HKEY_CLASSES_ROOT\*\shell\Sublime Text" /f
exit

[TO BE CONTINUE]  

上一篇:C++中常见错误整理(不定期更新)


下一篇:win10更新后 chrome内核浏览器总是打开网页一直加载 甚至打不开 解决方法