sublime-text-3配置

目录

Sublime Text 3编辑器插件

1.HTML代码格式化插件Tag;

2.右键菜单增强插件SideBarEnhancements;

3.JS代码格式化插件JSformat;

4.Json格式化插件Pretty Json;

5.Go语言sublime编辑器Gosublime;

/*配置 Preferences -> Package Settings -> GoSublime -> Settings -> User*/
//添加
{"env": {"GOPATH": "/home/int/WorkSpace/Go", "GOROOT": "/usr/local/go"}}

6.markdown编辑和预览器:

7.Git插件,ctrl+shift+p使用命令

8.Terminal,打开在当前文件所在的目录的终端,改快捷键

9.Emmet,html/css开发利器

10.SublimeREPL

11.anaconda,python功能插件

12.Javatar,Java IDE插件

sublime text 3安装Package Control

简单安装方法

The simplest method of installation is through the Sublime Text console. The console is accessed via thectrl+ shortcut or theView > Show Consolemenu. Once open, paste the appropriate Python code for your version of Sublime Text into the console.

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; 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)

常规安装方法

If for some reason the console installation instructions do not work for you (such as having a proxy on your network), perform the following steps to manually install Package Control:

1.Click the Preferences > Browse Packages… menu
2.Browse up a folder and then into the Installed Packages/ folder
3.Download ‘Package Control.sublime-package’ and copy it into the ‘Installed Packages/’ directory
4.Restart Sublime Text

结束

Sublime Text 2/3 输入法修复[Ubuntu(Debian)]

主要目的:

使用方法

sudo apt-get update && sudo apt-get upgrade
git clone https://github.com/lyfeyaj/sublime-text-imfix.git
cd sublime-text-imfix && ./sublime-imfix

卸载已安装的插件

如果是通过package control安装的, 快捷键Cmd + shift + p打开面板搜索Package Control: Remove Package然后选择需要卸载的插件.

comments powered by Disqus