Ubuntu 16.04 under install sublime text plugin

Source: Internet
Author: User
Tags sublime text

What is Sublime text?: It is a code highlighting, syntax hints, auto-complete and fast response editor software, not only has a gorgeous interface, but also support plug-in extension mechanism, with her to write code, is absolutely a pleasure. Compared to the difficult to get started vim, puffy heavy eclipse,vs, even if the volume of light and fast start EditPlus, notepad++, in front of the sublimetext of the pale, undoubtedly this sexy editor is coding and writing the best choice , not one. installing the plug-in library steps

Install the package Control:
This is something that must be installed after you finish installing Sublimetext. With this special "plug-in package", you can easily install, upgrade, delete, and even easily view the list of packages or plugins you have installed in Sublimetext.
Automatic installation:
1. Open the console via the shortcut key CTRL + ' or View > Show Console Menu
2, paste the corresponding version of the code after the carriage return installation
For Sublime Text 3:
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 ())

For Sublime Text 2:
1. 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 ')

Manual Installation:
You may not be able to use code installation for a variety of reasons, and you can manually install the package Control by using the following steps:
1. Click Preferences > Browse Packages menu
2. Go to the upper-level directory of the Open directory before entering the installed packages/directory
3. Download the package control.sublime-package and copy it to the installed packages/directory//http://www.imjeff.cn/blog/62/can download the package contro L.sublime-package
4. Restart Sublime Text.


To view the installed plugins:
Method one. In sublime text, press CTRL+SHIFT+P, enter the package, select Package Control:list Packages in the drop-down list and see
Method Two. Click Preferences in the sublime text and the mouse moves to the package setting to display the current sublime plug-in

To install the plugin:
1. Ctrl+shift+p Call Out window: Enter the Install package
2. Then enter the plugin you want

To remove a plugin:
1. Ctrl+shift+p Call Out window: Enter the Remove package
2. Then select the plugin you want to delete.



Plugin list:
All Autocomplete
The plugin searches for all open files to find the matching hint words.

Brackethighlighter
Highlight matching brackets, quotes, and labels

ColorPicker
Press Ctrl+shift+c (by default, if it conflicts with other keys, you need to modify it) the palette will pop up to select the color value

Docblockr
This plugin automatically generates comments, just enter/** on the function and press TAB to generate comments automatically

Jsformat
JavaScript format Plugin

Markdown Extended
. md Format Files

Package Control
With this special "plugin package" You can easily install, upgrade, delete, and even easily view the list of packages or plugins you have installed in Sublimetext.

Pretty JSON
Ctrl+alt+j Formatting JSON strings
Ctrl+alt+m compressed JSON string is invalid

Sass
Ctrl+b (linux/windows) or command+b (OS X) can compile sass as CSS, and there will be a. map file. Won't use

seti_ui
Theme

Sidebarenhancements
This plugin can be extended to the right-click of Sublimetext's Sidebar menu.

Sublimelinter
A tool that provides code statement detection

Sublimelinter-jshint
Used to check JS syntax errors, in conjunction with Sublimelinter

Themr
Sublime can download a lot of style styles and use this plugin to manage all styles

Trailingspaces
Highlight extra spaces and tabs
In sublime text Click Preferences, point key Bindings-user Add the following code to provide shortcut keys
[
{"Keys": ["Ctrl+alt+d"], "command": "Delete_trailing_spaces"},

{"Keys": ["Ctrl+alt+o"], "command": "Toggle_trailing_spaces"}
]

Ubuntu 16.04 under install sublime text plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.