Sublime Text 3 安装简记
1、下载:( Sublime Text Version 3.2.2 Build 3211 )
1 | https: //www .sublimetext.com /3 |
2、安装Package Control:
1 | "Tools" --> "Install Package Control" |
3、安装常用插件包:
1 2 3 4 | "Preferences" --> "Package Control" --> "Package Control:Install Package" ChineseLocalizations ConvertToUTF8 JsFormat |
4、更改hosts文件,禁止自动更新,增加如下条目:
1 2 3 4 5 6 7 | 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 |
5、使用WinHex编辑sublime_text.exe文件
1 2 | 搜索 --> 查找十六进制数值 输入97940D --> 替换为 00 00 00 |
注意:编辑文件前先关闭Sublime Text,最好先备份sublime_text.exe文件,以防万一。
6、激活码:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 激活码1: ----- BEGIN LICENSE ----- TwitterInc 200 User License EA7E-890007 1D77F72E 390CDD93 4DCBA022 FAF60790 61AA12C0 A37081C5 D0316412 4584D136 94D7F7D4 95BC8C1C 527DA828 560BB037 D1EDDD8C AE7B379F 50C9D69D B35179EF 2FE898C4 8E4277A8 555CE714 E1FB0E43 D5D52613 C3D12E98 BC49967F 7652EED2 9D2D2E61 67610860 6D338B72 5CF95C69 E36B85CC 84991F19 7575D828 470A92AB ------ END LICENSE ------ 激活码2: ----- BEGIN LICENSE ----- Member J2TeaM Single User License EA7E-1011316 D7DA350E 1B8B0760 972F8B60 F3E64036 B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD FA0A2ABE 25F65BD8 D51458E5 3923CE80 87428428 79079A01 AA69F319 A1AF29A4 A684C2DC 0B1583D4 19CBD290 217618CD 5653E0A0 BACE3948 BB2EE45E 422D2C87 DD9AF44B 99C49590 D2DBDEE1 75860FD2 8C8BB2AD B2ECE5A4 EFC08AF2 25A9B864 ------ END LICENSE ------ |
最后显示Thanks for Purchase,就说明注册完成了。
7、禁止自动升级(升级后原来的Key就不能用了^_^):
首选项 --> 设置 --> Preferences.sublime-settings -- User
1 | 添加 "update_check" : false , |
8、添加到右键菜单:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | @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 |
[ THE END ]
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步