windws 下 sublime Text 3 ·安装的安装与激活

Posted Dowya

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windws 下 sublime Text 3 ·安装的安装与激活相关的知识,希望对你有一定的参考价值。

下载sublime

  我们可以到官网进行下载对应的版本 https://www.sublimetext.com/3 如下是官网的内容(我选择的是Windows 64 bit)。

      Sublime Text 3 is currently in beta. The latest build is 3126.

Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use. There is currently no enforced time limit for the evaluation.

For notification about new versions, follow sublimehq on twitter.

Even more bleeding-edge versions are available in the dev builds.

Sublime Text 2 is also still available

安装

  点击已经下载的安装文件,根据安装导航进行安装,在提示Add to explorer context menu 时,勾选上这样在右键单击文件时就可以直接使用Sublime Text打开,然后一路“next”等待安装完成。

安装Package Control

  Sublime Text支持大量插件,利用Package Control我们可以很方便的浏览、安装和卸载Sublime Text中的插件。进入Package Control的官网,里面有详细的安装教程 https://packagecontrol.io/installation

  The simplest method of installation is through the Sublime Text console. The console is accessed via the ctrl+` shortcut or the View > Show Console menu. Once open, paste the appropriate Python code for your version of Sublime Text into the console.

Sublime Text 3Sublime Text 2

import urllib.request,os,hashlib; h = ‘df21e130d211cfc94d9b0905775a7c0f‘ + ‘1e3d39e33b79698005270310898eea76‘; 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)

import urllib2,os,hashlib; h = ‘df21e130d211cfc94d9b0905775a7c0f‘ + ‘1e3d39e33b79698005270310898eea76‘; pf = ‘Package Control.sublime-package‘; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( ‘http://packagecontrol.io/‘ + pf.replace(‘ ‘, ‘%20‘)).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), ‘wb‘ ).write(by) if dh == h else None; print(‘Error validating download (got %s instead of %s), please try manual install‘ % (dh, h) if dh != h else ‘Please restart Sublime Text to finish installation‘)

This code creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it. The download will be done over HTTP instead of HTTPS due to Python standard library limitations, however the file will be validated using SHA-256.

 激活

  点击 Help--enter license 然后输入激活码

—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
B085E65E 2F5F5360 8489D422 FB8FC1AA
93F6323C FD7F7544 3F39C318 D95E6480
FCCC7561 8A4A1741 68FA4223 ADCEDE07
200C25BE DBBC4855 C4CFB774 C5EC138C
0FEC1CEF D9DCECEC D3A5DAD1 01316C36
—— END LICENSE ——

以上是关于windws 下 sublime Text 3 ·安装的安装与激活的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu下安装sublime-text3

Ubuntu菜鸟入门(十八)————解决Ubuntu下Sublime Text 3无法输入中文

[转]在ubuntu下安装sublime text

解决Ubuntu下Sublime Text 3无法输入中文

Ubuntu下安装并使用sublime text 3(建议:先安装Package controls 后在看本教程,否则可能会安装不了)

解决Ubuntu下Sublime Text 3无法输入中文