Since I came into contact with sublime text, I feel that the more I use it, the better I use it. Almost everything related to text editing is inseparable from it. I have collected many plug-ins over the past year. I don’t dare to share them with you. I use sublime text 3. All the following plug-ins shall be subject to 3.
All of the following plug-ins I recommend can be directly entered, found and installed in package control. Those who do not like package control can also be installed on GitHub:
Material Theme:The theme of the material interface completely changes the sublime text! Don’t say anything, above!
There is also a plug-in called material theme – App bar, which can also be installed together. In the above figure, a white bar is given to the currently activated window. There is a bug in sublime text (not the bug of this theme). After installing this theme, the input panel will be covered by the status bar below. The solution is very simple. Pull the mouse once, and then sublime will recalculate the distance of the sidebar, and then the input panel can be displayed normally.
Let’s start the introduction by category:
Tool classes (available in any language):
ColorSchemeSelector: you can quickly switch the subordinate colorsheme, a necessary plug-in.
Origami: artifact! You can arbitrarily manipulate the sublime screen, such as left and right split screen, up and down split screen, up and down first, then left and right, left and right first, then up and down.
Git: the name says everything. People who need it can’t do without it. People who don’t know what it means don’t need to install this plug-in. This plug-in mainly allows us to directly perform git operations in sublime, such as commit, push, pull, etc. The idea is that it only supports SSH, so the repository cloned by HTTP may need to manually change git remote set URL origin
GitSavvy: complete the GIT plug-in above, and support many advanced functions of GIT.
GitGutter: with git, you can see what changes you have made every time you edit a document.
Sublimerge Pro: diff artifact. It can be said to be the best diff software. It automatically separates the screen of sublime text from the left and right, compares the differences of documents on both sides, and can pull down synchronously on both sides. It’s just paid software. Now it’s said to be $25. Before, it was only $10
MacTerminal: the shortcut key can open terminal at the current project location, and iterm 2 is supported!
Terminality: with terminal, python, C and shell, terminal input can be supported in sublime text. Specifically, without this plug-in, if your Python program needs to accept input from the terminal, such as the age of the consumer, an error will be reported when you press Ctrl + B; But now with termination, we can run python, C, Java and shellscript as if in a terminal.
QuickMail: a plug-in that can send and receive e-mail in sublime. It is very suitable for you to write a piece of code and send it directly to your colleagues or friends with shortcut keys. It is very convenient.
SublimeLinter: Needless to say, this plug-in has many plug-ins and supports syntax error checking and format checking in many languages.
SublimeREPLRepl means read Eval print loop, or interpreter, which greatly facilitates debugging. After installation, it supports opening a window IPython in sublime, so we don’t need a terminal. There are also many plug-ins. I use this to implement the repl of Java and C. unfortunately, the author of this plug-in rarely updates it. So far, my push is still in the pull request.
CnDict: Chinese and English dictionary software, quick key word search, currently supports Jinshan Ciba and Youdao dictionary.
Hex Viewer: very good binary view and editor.
Ctags: through build index, you can realize the function of “jump to definition” better than the built-in go to definition function. Whocalledfunctionfinder: Sublime can jump from function name to definition, but cannot jump from definition to function call. This plug-in simulates the reverse operation of ctags, jumping from definition to call. Cooperating with ctags is basically similar to ide. Of course, ctags and whocalled are just regular matching. They can’t really understand your code. Note: both ctags and whocalled are unnecessary for Python. An anaconda is enough.
BracketHighlighter: there’s a joke that the former Soviet spy stole the code of the last screen of the Apollo spacecraft at a great cost and found that it was all}. Java is no more indented than python. It needs braces to indicate the scope, so it is very important to have a method to highlight the scope of braces. After installing the plug-in, when the cursor moves around the brace, the range of the brace will appear on the left side of the screen, which can help us check whether the brace is missing.
FindKeyConflicts: after there are too many plug-ins, it is easy to encounter shortcut key conflicts. This software can find the conflicting shortcut keys so that we can solve them.
FuzzyFileNav: you can use sublime text as a simple file manager.
HiveOpener: the software developed by Chinese people may not be well-known because the description is written in Chinese, but it is very easy to use. You can set your own shortcut list and open files or folders with shortcut keys.
YCMDCompletion: This is to cooperate with the youcompleteme backend. However, it is only recommended to use it for semantic analysis of c-series languages, because Python has anaconda and rust has rustautocomplete
MagicPython: better Python syntax highlights. Similarly, python improved. Just choose one.
Anaconda: necessary for Python. Directly convert sublime text into Python’s lightweight IDE, real-time error correction, check style, automatic completion. Python artifact is not negotiable. And developers are very active. If you really encounter problems using this plug-in, you can submit an issue directly and get a reply soon. I used sublime codeintel and Jedi before, but later I uninstalled them and used anaconda. Anaconda’s Python format check and automatic error correction, which has completely surpassed the pep8 and pyflakes of sublime linter.
Sublimelinter-pep8, sublimelinter pyflakes: the only function I didn’t turn on was ananconda’s linter. Because in terms of syntax error checking and standard format, I haven’t found anything better than sublimelinter’s plug-ins pep8 and pyflake. With sublimelinter writing python, my mother doesn’t have to worry about the non-standard code I write anymore.
PyYapf: sometimes, pep8 and pyflake are powerless. For example, you write a super long call, XXX (XYZ). AAA (BCD). BBB (EFG). CCC… Although we all know that this is bad, sometimes the function name or variable name is too long… After you write it in pyyapf format, it will automatically help you sort out the code, The classification.
Javatar: This is an existence similar to Anaconda in Python, although it is far from perfect at present. The author said that the purpose of this plug-in is to turn sublime into a lightweight Java ide. From the current usage, some of them are implemented, such as automatic completion and syntax highlighting, and checking the format with javac’s xlint. The new 2.0 prebeta version adds more functions, such as background compilation and so on. Basically, but compared with ananconda’s experience, it is still relatively elementary. But javatar is the best — and only — of all our Java plug-ins today
SublimeAStyleFormater: automatic formatting of Java, similar to pyyapf above.
Front end class:
CSS3: a better CSS syntax highlighting.
HTML5: a better HTML5 syntax highlight.
Livereload: Finale artifact! This plug-in is very important. In the browser (corresponding plug-ins are also installed on chrome, Firefox and safari), the modifications in sublime can be seen in real time in the browser. With livereload, my coding efficiency has been greatly improved. It was painful before. The significance of fine-tuning web elements to preview in real time cannot be overemphasized. Unfortunately, it is no longer updated
Web Inspector:This is the real finale artifact. What livereload is weak and explosive. A thing that is not updated has no future to continue to support! Web inspector is better than live reload in all aspects, and can debug at a single point!
RustAutoComplete: the semantic analysis of rust is completed automatically, based on racer.
Rust: the syntax file of rust has been integrated into the sublime installation package.
Documentation / writing:
Latexing: latex writing is the basic of scholars. The latexing plug-in is one of the best latex plug-ins at present. Although it is paid, the price is not expensive, and the support and update are in place. Latexing also supports real-time preview. With the skim PDF browser under OSX, you can compile the latex source code and locate it on PDF at any time, which is very convenient for writing. With latexing, I completely abandoned latexian, latex pad and other software, and used sublime text as the main editor for my work.
MarkdownEditing: This is mainly used to write administrative documents and published books. After it is written in markdown format, it can be converted into word, PDF or RTF with pandoc. There are other plug-ins for markdown writing. Some functions seem to be more powerful, but I think markdownediting is enough. After all, I write serious documents in latex. For those who use markdown as the main force, consider the following: markdownpreview
PandocUsage: I have finished above
WordCount: name means everything. It is a small plug-in that displays word count in the status bar.
Generic Config: highlight the syntax of the Linux config document.
SFTP: another artifact. Wbond has really made a lot of contributions to the sublime text community. The existence of this software makes it possible for sublime text to replace vim and Emacs in work. For example, if I want to remotely manage my blog server, I can use SFTP plug-in to log in to the remote server with SSH, use SFTP subsystem to sudo obtain the permission to access system files, and then gracefully modify the configuration file on the server on the local sublime, just like modifying the local document.