Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Sublime Text 3 can be recommended with supported plug-ins

2025-04-08 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

First of all, if you do not have Package Control installed, please install

Methods:

From the menu View-Show Console or ctrl + ~ shortcut key, call up console. Paste the following Python code into it and execute it with enter to install Ctrl+~ without accident

Sublime Text 3:

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)

Sublime Text 2:

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 ('Please

Restart Sublime Text to finish installation')

Then install the plug-in

Shortcut key Ctrl+shift+p to open package Control, enter Package Control: select install Package

There will be a prompt to load the plug-in list in the lower left corner.

Then enter BracketHighlighter and enter and wait for the installation to be completed.

Find Alignment in the list and press enter to install.

Restart Sublime Text for it to take effect. Now you can do the alignment by selecting the Chinese text and pressing Shift + Command + A Ctrl + Command + A.

Commonly used plug-in recommendations

Http://www.tuicool.com/articles/qEFJrm

20 powerful Sublime Text plug-ins

As a developer, there's no way you haven't heard of SublimeText. But it doesn't matter if you haven't heard of it. I'll let you understand. SublimeText is a very ingenious text editor for writing code, taking notes, and writing articles. Its user interface is very clean, the function is extraordinary, the performance is surprisingly fast. These great features include arbitrary jump (Goto Anything), multiple choice (multiple selections), instruction panel (command palette), do not disturb mode (distraction free mode), partition editing (split editing), fast project switching (instant project switch), and you can customize more features at will. Also, the editor supports Mac, Windows and Linux platforms. But these are not the contents of this article.

SublimeText itself is already very powerful, but what's even better is that there is a long list of plug-ins that support it, giving it more powerful functionality, which is what this article will discuss. Without much nonsense, let's take a look at 20 powerful SublimeText plug-ins. If you are already using them, please let us know which one you think is the best. As always, your opinion is important.

20. FTPSync

SublimeText does not have the function of FTP by default, and if you are looking for a free and easy-to-use FTP tool that can be used in your SublimeText application, you can consider FTPSync. This is a very simple FTP synchronization tool that controls the multiple naming of upload targets. Let us know what you think.

19. SASS Build

SASS Build is a preprocessor for writing CSS. This special plugin will help you build SASS files, including compression options. Once you have installed the plugin, you can easily start it by pressing Ctrl+ B (the MAC system is Command + B).

18. Package Control

To put it plainly, this is what you must install after you have finished installing SublimeText. You ask why? Because of this special "plug-in package", you can easily install, upgrade, remove, and even view a list of packages or plug-ins that you have installed in SublimeText. It makes these processes very easy and organized through menus and corresponding behaviors.

17. Emmet

In a nutshell, Emmet is a plugin that allows you to write HTML and CSS faster and more efficiently, saving you a lot of time. How do I use it? You just need to write the agreed abbreviations instead of the entire code, then press the "expand" key, and these abbreviations will automatically expand to the corresponding code content. For example, you only need to enter ((h5 > a [rel = external]) + p > img [width=500 height=320]) * 12, and then it will be expanded and converted to 12 list items and subsequent images. Then you can fill in the content on this basis, it's as simple as that.

16. SublimeLinter

This plugin has only recently been rebuilt and released for SublimeText3. The new version obviously brings a lot of new and different features, rather than simply putting all the Linter in one package, developers allow users to choose and install their own frequently used Linter when upgrading. Obviously, this saves disk space. "more customization", which is very user-friendly.

15. SublimeEnhancements

This plug-in can bring extended functions to SublimeText's sidebar menu, including: new files in the current project folder, move files or folders, generate copies of files or folders, open in new windows or browsers, refresh, etc. In a nutshell, explore more of its features after installation.

14. PackageResourceViewer

With this special plug-in, it will be very convenient for you to view and edit the different packages that come with SublimeText. You can also extract any given package. This action copies it to the user folder so that you can edit it safely.

13. Git

Although the name doesn't look friendly, as a developer, you can certainly see what it does at a glance. This plugin integrates Git into your SublimeText, allowing you to run Git commands in SublimeText, including adding, submitting files, viewing logs, file comments, and other Git functions.

12. Terminal

This plugin allows you to open your project folder directly from the terminal in Sublime and supports the use of keyboard shortcuts.

11. CSSComb

This is a formatting plug-in used to sort CSS attributes. If you want to keep your code clean and tidy and want to arrange it in a certain order (isn't that a little obsessive-compulsive? Then this plug-in is an effective solution Especially when you collaborate with other developers who have their own coding style.

10. CanIUse

If you want to check if the browser supports the CSS and HTML elements that you include in your code, then this is the plug-in you need. All you need to do is select the element in question, and the plug-in will do the rest for you.

9. Alignment

This plugin allows you to align your code, including PHP, CSS and Javascript. The code looks more concise, readable and easy to edit. You can see the picture below to see what I mean.

8. Trmmer

You know that when you write code, there are unnecessary spaces due to errors or some other reason. It is important to note that extra spaces can sometimes cause errors. This plug-in automatically removes these unnecessary spaces.

7. ColorPicker

If you often want to view or set color values, this plugin can easily call your native palette application. (translator expansion:) this is a two-way function, you can either select a color in the color palette, and then press the "OK" button to fill in the current location of the active document in the SublimeText, or you can select a color value in the active document. Press the shortcut key of this plug-in to locate the corresponding color in the color palette displayed.

6. MarkDown Editing

SublimeText is not just able to view and edit Markdown files, but it treats them as poorly formatted plain text. This plug-in better accomplishes these tasks with appropriate color highlighting and other features.

5. FileDiffs

This plugin allows you to see the differences between two different files in SublimeText. The objects you can compare can be data copied from the clipboard, files in the project, currently open files, and so on.

4. DocBlockr

DocBlockr makes it easy for you to document code. It parses functions, variables, and parameters, automatically generates document paradigms based on them, and your job is to fill in the corresponding instructions.

3. Customized theme

Having different themes can trigger ideas and ideas, and you may want to use these plug-ins to achieve different themes and bring better and exciting prospects.

SpaceGray

Centurion

2. Snippets

Snippets, you must have heard that it can help you write code quickly. But instead of using abbreviations like the plug-ins mentioned above, it reuses blocks of code to save you time. You can even create your own code snippets, which is entirely up to you.

1. Other syntax support

If there is a language that is contained in the language that SublimeText itself contains, it cannot display the appropriate syntax highlighting. These languages include LESS,Sass,SCSS,Styls and Jade (or others). If you are using these languages, you may want to install their syntax plug-ins.

LESS

Sass

SCSS

Styls

Jade

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report