Package Control Installation Method
First open the console with the shortcut key Ctrl + ' or View > Show console, and then paste the appropriate Python installation code.
Sublime Text 2 Installation code:
Import Urllib2,os; 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 ())); Open (Os.path.join (IPP, PF), ' WB '). Write (Urllib2.urlopen (' http://sublime.wbond.net/' +pf.replace (', '%20 '). Read () ); Print (' Restart Sublime Text to finish installation ')
Sublime Text 3 Installation code:
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 ())
Common Extension Recommendations
- emmet-- Emmet officially provided by the Sublime Text extension;
- Sublime? Linter-code Check plugin, support HTML, CSS, JS, PHP, Java, C + + and other 16 languages;
- HTML5--html5 bundle for Sublime Text 2;
- alignment-- Code alignment plug-in;
- bracket? highlighter-- brackets Highlight match;
- git-- plug-ins that integrate GIT functionality;
- jQuery--code Smart Tips plugin;
- less-- less code highlighting plugin;
- Js? format--JavaScript code format plugin;
- tag-- Html/xml label indentation, completion and calibration;
- livereload-- Let the page refresh instantly;
- Pretty json-- JSON landscaping extension;
- Can I use-- Query the compatibility of CSS properties;
- Coffee? script--Coffee? Script code highlighting, verification and compilation, etc.;
- Color? picker-- cross-platform Color picker plug-in;
The best sublime Text plugin
Webinspector
In JavaScript debugging, this is an amazing tool for sublime on the full Code checker.
Features: Use absolute path to store item breakpoints in user settings, console, step and breakpoint debugger, stack trace. These are great jobs! And Mozilla also provides a plugin fireplay lets you connect to Firefox development tools and the simplest debugger jshint
Video
Emmet
One of the most popular plugins in the editor. Emmet, formerly Zen Coding, is one of the most effective ways for web developers to improve productivity. By pressing the TAB key, Emmet can expand an abbreviation into a block of HTML and CSS code, and I want to mention the hayaku-collection of handy cascading style sheet abbreviations.
Videos with the best tips from the project author
Git
The essence of this plugin, look at its name to know – it provides the opportunity to work directly with Git using our favorite editor. Working together with git in this way can save you a lot of time. First: You do not need to switch between sublime and terminals from time to time. In addition: It has tag auto-completion function, write add is enough, not git add-a. 3rd: It has quick commit function (quick), one command adds all changes and commits all.
If you just want to use Git to get the contents of a remote repository, I recommend using nettuts+ Fetch.
There is a plugin called glue, which displays a small window below the interface where you can write shell scripts. In this way, your editor is not limited to using GIT.
Gitgutter & Modific
These plug-ins can be high on lines that have changed in the last commit, in other words, the diff tool in real time.
Brackethighlighter
Great! Opening and collapsing a portion of the code should look like this.
Editorconfig
Editorconfig helps developers define and maintain a unified programming style between different editors and Ides. The Editorconfig project contains a file that defines the programming style, the text editor plug-in collection, which allows the editor to read the file and define the style according to it. For example. editorconfig file:
1234567891011121314151617181920212223242526 |
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[*.js]
indent_style = tab
# Indentation override for all JS under lib directory
[lib/**.js]
indent_style = space
indent_size = 2
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
|
Sublimall
A simple plugin that allows you to synchronize all configurations (settings, plugins, open files, etc.) between different sublime Text editors. All is free and you only need to create an account. is a more minimalist alternative to the bufferscroll.
Translator Note: Now cannot register
>max Registration Reach
I ' m sorry about that, and don ' t forget that it's a beta version of Sublimall.
Registrations'll been soon re-opened!
Geoffrey.
Allautocomplete
The traditional sublime Text AutoComplete plugin works only under the current file. Allautocomplete can search all open tabs, which will greatly simplify the development process. Of course, there is a plugin called Codeintel, which implements some of the IDE's functions and provides "code intelligence" for some languages: JavaScript, Mason, XBL, XUL, RHTML, SCSS, Python, HTML, Ruby, Python3, X ML, Sass, XSLT, Django, HTML5, Perl, CSS, Twig, less, Smarty, node. js, Tcl, Templatetoolkit, PHP.
Sublimerepl
This may be one of the most useful plugins for developers. SUBLIMEREPL can run an interpreter directly in the editor, supporting many languages:
Clojure, Coffeescript, F #, Groovy, Haskell, Lua, Mozrepl, NodeJS, Python, R, Ruby, Scala, Shell
Docblockr
Docblockr will be an effective tool for you to write code documents. When you enter/** and press the TAB key, the plugin automatically resolves any function and prepares the appropriate template for you.
Floobits
Sublimetext, Vim, Emacs, IntelliJ idea is an excellent extension tool that allows developers to write code in collaboration with different editors.
Autofilename
Auto-Complete file path-very convenient. No nonsense.
ColorPicker
Usually, if we need a palette, we are accustomed to using Photoshop or GIMP. However, a complete color picker tool can be used directly in your editor- Ctrl/cmd + Shift + C. There are also two plugins guttercolor and colorhighlightergutter that can display great color highlighting in gutter, simplifying the positioning of color codes.
Colorcoder
All variables are highlighted, so the code positioning can be greatly simplified. This is especially helpful for programmers who have dyslexia.
Plaintasks
Outstanding Todo Table! All tasks are kept in the file, so it is convenient to bind tasks and projects together. You can create items, label, and set dates. Competitive user interface and shortcut keys.
Markdownediting
Probably the best plugin for markdonw: syntax highlighting, abbreviations, auto-completion, color schemes. You can also try using Markdownpreview as an alternative solution.
At last
-
Sublime Text Best Plugin list (GO)