Application introduction:
Sublime Text 3 is the most popular code editor software nowadays. It is very powerful and can run on Linux, Windows and Mac OS X. It supports HTML5 and CSS3 visual editing operations. The software is compact and takes up little memory. It is a text editing software loved by the majority of code editors.
Application product features:
1. Syntax highlighting, code prompt completion, code folding, customized skin/color scheme, and multiple notes;
2. Code map, multiple interface layouts and full-screen do not disturb mode;
3. Completely open user-defined configuration and magical and practical editing status recovery function;
4. Powerful multi-line selection and multi-line editing;
5. Thunder-fast file switching;
6. Jump as you like: quickly list and position functions/HTML elements and jump to specified lines;
7. Command panel integrating all functions;
8. Package Control (an expansion package manager you must not miss).
Instructions for use:
1.Select
Here are some shortcut keys for selecting text in Sublime Text:
Command + D select a word
Command + L select a line
Command + A Select All
Ctrl + Command + M - Select all content within the brackets (very useful when writing CSS or JS)
Sublime Text also supports the operation of selecting multiple lines at once: Furthermore, Sublime Text brings us select multiple lines at once, which can significantly boost your productivity. There are several ways to perform this feature:
Command Hold down the Command key and click the row you want to select
Command + Ctrl + G (when selecting part of the text) Press this key to select all the same text
Command + D (when selecting part of the text) directly select the next occurrence of the text
2.CSS sorting
The order of CSS properties generally doesn't matter because browsers will render correctly regardless of the order. But sorting all properties still helps to keep the code cleaner. In Sublime Text, you can sort alphabetically by selecting the CSS property and pressing F5.
3. Command Palette
Use the command palette to quickly complete multiple tasks. Press Command + Shift + P to bring up the panel and type the required command.
4. Main shortcut key list
5. Cross-file editing
The same editing operation can be repeated in multiple files simultaneously. For example, when there is the same piece of code in multiple files, you can quickly edit it with the following steps:
Press Command + Shift + F to enter the code to be found in the Find box. You can quickly use the code snippet in the selection by pressing Command + E.
Specify the file range to be searched in the Where box, or fill in <open files> to search for the currently open file.
Enter the code you want to replace in the Replace box and press the Replace button to replace it in batches.
6. File crawler
Press Command + R to list all CSS selectors in the document. You can select and jump to view immediately. This operation is much faster than using the normal Find function.
7. Spell check
If you often use Sublime Text to create English, enabling spell check is very useful. Select the Preferences > Settings – User menu and add the following code:
"spell_check": true,
8. Enhance the sidebar
The SideBarEnhancements plugin effectively improves Sublime Text’s sidebar. After installing the plug-in, right-click on the sidebar and you can find the following new functions: open in explorer, create new file, create new folder, open with..., open in browser.
9.Change the theme
The appearance theme of Sublime Text can be changed. Soda Theme is a good theme that can be installed in the package manager.
Things to note:
If the theme you want to install is not in the online software repository, you can also install it manually. Download and unzip the theme package, click the menu Preferences > Browse Packages, copy the theme folder to the Packages folder, click the menu Preferences > Settings – Users and join The following code: "theme": "Soda Light.sublime-theme.
it works
it works
it works