0%

Sublime Text激活

Sublime Text激活教程

  1. 去官网下载并安装Sublime Text
  2. 输入注册码进行激活
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    ----- 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 ------​ ;
  3. 注册信息展示

Sublime Text插件安装

  1. 安装插件管理器(2种方式):packagecontrol

    1. 指令安装:
      按 view 下面的 show console, 输入如下指令敲 enter 即可
      1
      import urllib.request,os; pf = 'Package Control.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())
    2. 下载 packagecontrol 包放到指定位置即可(搜教程)
  2. 安装插件

    1. 输入快捷键 ctrl+shift+p
    2. 输入 pci,选中 install packages
    3. 进来后输入想要安装的插件名字点击就能安装,如:ChineseLocalizations(汉化插件)
  3. 解决输入 pci,找不到包库的问题

    输入如下指令,敲 enter

    1
    import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; 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)