High-end customization is the only way to make sublime an exclusive IDE

Source: Internet
Author: User

High-end customization is the only way to make sublime an exclusive IDE
Preface

I have used some ides, such as eclipse and intelliJ. These ides are very intelligent and many plug-ins, but none of them are fuel-saving lamps-memory killer. What's more unbearable is that 10 Gb of memory eclipse occupies 2 GB + and still has a card.

After the full stack development is no longer done, the lightweight editor is used. The used editors include Emacs (ctrl is hard to use) and Vim (relatively easy to use, however, the speed and convenience of plug-ins are not as good as sublime), ultraedit (it is said that it is a necessary editor for hackers and there are too few plug-ins), atom (github version of sublime, has always been very optimistic, unfortunately, I cannot accept the slow speed) and sublime (fast speed, rich plug-ins, and support for vim operations ). Finally, I chose the sublime that many people sought after.

I usually develop javascript (jquery, angular), html, and css (bootstrap) languages, using tools such as gurnt, less, git, and svn. In addition to the command line (in fact, sublime also has a terminal plug-in, but the window is too ugly and the function is not powerful, so it is better to directlywin+rQuickly), basically all operations are performed on the "IDE" of sublime. The following plug-ins are mainly used:

 

Code verification, prompt, and optimization

 

Alignment

Beautify the symbols "=" and.

 

BracketHighlight

The code block bracket highlighting tool allows you to customize the color of the brackets.

 

DocBlockr

Input a line on the Function/**Then press Enter. The magic happened, And jsdoc is generated.

 

Emmet

Previously called zencoding, a plug-in for quick html compilation.

 

HTML-CSS-JS Prettify

One-click Optimization of html, css, and js files, but it seems that only indentation is optimized.

 

AngularJS

A smart prompt is provided when Angular is compiled.

 

JQuery

JQueryAPI smart notification

SublimeLinter & SublimeLinter-jshint

In combination, it supports JavaScript syntax rule validation, which is essential for every js writer.

 

File Save Preview

 

Local History

It is highly recommended that files edited by smart cache be a bit like local version management tools.

Markdown Preview & MarkdownEditing

A good partner who writes markdown to display the preview results of md files.

 

Minifier

Manual js File compression tool.

 

Version Control

 

SVN

The plug-in function is similar to TortoiseSVN. You can right-click the plug-in on the sidebar.

 

Git

Right-click to visualize the operation, as shown in the preceding figure.

 

Sublime Optimization

 

Dracula Color Scheme

Black and white, a simple theme, suitable for low-profile developers.

 

AdvancedNewFile

You can use Shortcut Keys directly.ctrl+alt+nCreate a file (folder) on the sublime Console)

 

Automated Tools

 

Grunt

IDE has a magical function. As long as you save the code, it will automatically compile and release the Code. This can be achieved using the Grunt watch plug-in. The Grunt plug-in of sublime is used to conveniently call tasks in Gruntfile. js configured in the project. Usectrl+pInputgruntSmart and convenient.

Currently, we have heard of three types of automatic chemicals: Grunt, FCM, and Gulp.

  • Grunt is a mature automated management tool with a wide range of plug-ins that automate Code Decomposition into one task for execution.
  • The automated tools provided by the company's baidu should be in line with Chinese habits. If you are lazy, consider using them.
  • Gulp is recommended. stream processing efficiency and plug-ins similar to node. js are relatively high. It is the most popular automated tool according to data.

 

Final supplement

 

Change to vim Mode

Vim is an old editor that separates mouse operations. vim operations mean that you can perform operations such as cursor position, movement, and cutting through mode switching, greatly improving the writing speed. I'm glad that sublime can be configured as a "pseudo vim ".

ClickPreferences->setting-user, Add an attribute:“ignored_packages”: [“Vintage”]

 

More

The reason why sublime is so popular is that many plug-ins are available. Checking the top plug-ins on PackageControl is also an efficient search method.

This article permanently updates the link address:

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.