Sublime
The latest version of Mac is a code editor tool often used by programmers. The official version of Sublime has an efficient and interference-free interface, with multiple selection, macros, code snippets and other editing functions. And Sublime can also support syntax highlighting, code completion, code snippets (Snippet), code folding, line number display, custom skins, color schemes and other functions.
Things to note:
Friends who use Mac to install or download application software often encounter the following three error situations. The editor here provides you with solutions to help you solve the Mac error problem:
1. "...the software is damaged and cannot be opened. You should move it to the Trash"
2. "The xxx software cannot be opened becauseApple can't check if it contains malware"
3. "Cannot open xxxsoftware because it comes from an unidentified developer"
Don’t panic if you encounter the above three situations, follow the editor’s instructions and solve them easily.
1. Turn on any source in the computer settings.Open any source.
2. Opening any source will solve the problem of most software error reports. If it does not work, it means that you need to bypass application signature authentication by executing command line code. Execute command bypassiosnotarizationGatekeeper.
3. If the above operations still cannot solve the problem, then you need tocloseSIPSystem integrity protectionOnly then can.
Sublime software advantages
Mainstream front-end development editor
Small size and fast running speed
Powerful text function
Supports compilation function and can see the output on the console
The built-in python interpreter supports plug-in development for scalability purposes
Package Control: A large number of plug-ins supported by ST can be managed through it
Sublime shortcut keys
Ctrl+L selects the entire line (press and hold - to continue selecting the next line)
Ctrl+J Merge lines (when multiple lines to be merged have been selected)
Ctrl+KU changes to uppercase
Ctrl+KL Change to lowercase
Ctrl+KK deletes from the cursor to the end of the line
Ctrl+Shift+c convert to utf8
Ctrl+R searches for function labels in the specified file
Ctrl+G Jump to the specified line
Ctrl+K Backspace Delete from the cursor to the beginning of the line
Ctrl+U soft undo
Ctrl+K0 Expand all
Ctrl+KT collapse properties
Ctrl+M moves the cursor to the beginning or end of the brackets
Ctrl+T word swap Tab indent autocomplete
Shift+Tab remove indent
Ctrl+F2 Set bookmarks
F2 next bookmark
Shift+F2 Previous bookmark
Alt+. Close the current label
Ctrl+D selects a string (press and hold - to continue selecting the next same string)
Ctrl+/ comments the entire line (if the content is selected, it has the same effect as "Ctrl+Shift+/")
Alt+F3 Select text and press the shortcut key to select all the same text at once for simultaneous editing shift+right mouse button column selection
F6 detects syntax errors
F9 row sort (press a-z)
F11 full screen mode
Ctrl+Enter inserts a line after the cursor
Ctrl+Shift+Enter inserts a line before the cursor
Ctrl+Shift+[Collapse code
Ctrl+Shift+] Expand code
Ctrl+Shift+↑ Swap with uplink
Ctrl+Shift+↓ swaps with downward
Ctrl+Shift+K deletes the entire line
Ctrl+Shift+/ Annotate selected content
Ctrl + left mouse button can select multiple texts to be edited at the same time
Ctrl+Shift+A selects the parent tag pair at the cursor position
Ctrl+Shift+P opens the command panel
Shift+Tab remove indent
Ctrl+PageDown, Ctrl+PageUp files are switched in the order they are opened.
Ctrl+Shift+D Copy the entire line where the cursor is and insert it before the line
ctrl+shift+F to search within a folder. The difference from ordinary editors is that sublime allows you to add multiple folders for search.
Ctrl+Shift+L Select multiple lines with the mouse (press the shortcut key) to edit these lines at the same time
Ctrl+Shift+M selects the content within the brackets (press and hold - to continue selecting the parent brackets)
Shift + right mouse button (or use the middle mouse button) can be used to select vertical multiple lines with the mouse
Alt+Shift+1~9 (non-keyboard) displays a small window with equal numbers on the screen
Sublime commonly used plug-ins
ChineseLocalizations - Chinese localization package
Emmet (formerly known as Zen Coding) - a quick way to write html/css
ConvertToUTF-8——Solve the problem of garbled characters
Alignment——Code alignment plug-in
AutoPrefixer - css3 prefix automatic adding plug-in
JS Fromat——Formatting JS
Minifier——JS compression plug-in
Sublime CodeIntel——Automatic code prompts
SideBarEnhancements——Sidebar plug-in
Keymaps - shortcut key search, etc.
CSScomb——CSS attribute sorting
Sublime FAQ
The interface freezes or responds slowly
Reason:
There are too many plug-ins or plug-in conflicts.
The open files are too large or too numerous.
Solution:
Disable unnecessary plugins (Preferences → Package Control → Disable or Remove Plugins).
Close unused files or windows (use Cmd+W to close a tab).
Increase memory allocation on macOS (for very large files).
Sublime update log
1. The pace of optimization never stops!
2. More little surprises are waiting for you to discover~
Huajun editor recommends:
Huajun Software Park also has popular software with the same functions as this software, such as: eZip, Paste, Mac OS X, etc. If you need it, you can collect it!