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 4 for Mac (front-end code editing artifact)

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Sublime text 4 mac is a code editing tool running on Mac, which integrates many functions such as window grouping, project management, extension tools, code folding, etc., and supports vim mode, window grouping, extension tools, code folding, etc., and the Chinese version of sublime text 4 supports syntax highlighting of multiple programming languages, excellent code completion and code fragment functions. You can save commonly used code snippets and call them at any time when needed, which can be called a programmer development artifact!

Introduction of sublime text 4 mac Software function

1. Go to anything and use Goto Anything to open the file with just a few keystrokes and immediately jump to symbols, lines, or words. Trigger + P, you can:-type part of the file name to open it. Type @ to jump to the symbol, # search in the file and: go to the line number. These shortcuts can be merged so that tp@rf can take you to a function READ_FILE text_parser.py in the file. Again, tp:100 will take you to the same file on line 100.

two。 To define using the information in the syntax definition, Sublime Text automatically generates a project-wide index for each class, method, and function. This index supports Goto Definition, which has three different ways:-A pop-up window will be displayed when hovering over the symbol-press F12 when inserting the symbol-the go symbol in the project function can be customized according to the syntax through the configuration file, so that users can customize the function according to their own needs.

3. Make ten changes at the same time, rather than ten times at a time. Multiple selection allows you to interactively change many lines at a time, easily rename variables, and process files at an unprecedented speed. Try to divide the selection into lines by + L, and use? + D to select the next selected word that appears. To make multiple selections using the mouse, review the column selection document.

4. Command palette this command palette holds less common functions such as sorting, changing syntax, and changing indentation settings. With just a few keystrokes, you can search for what you want without browsing the menu or remembering vague key bindings. Display the command panel with + + P.

5. The powerful API and software package ecosystem Sublime Text has a powerful Python API that allows plug-ins to enhance built-in functionality. Package controls can be installed through the command palette, providing easy access to thousands of software packages built by the community.

6. Customize anything with key bindings, menus, snippets, macros, finishes, and more-almost everything can be customized in Sublime Text with a simple JSON file. The system gives you flexibility because you can specify settings on a per-file type and per-project basis.

7. Split editing takes advantage of split editing support to make full use of wide-screen displays. Edit the file side by side, or edit two locations in one file. You can edit as many rows and columns as you need. Multiple monitors are utilized by editing with multiple windows and using multiple splits in each window. View the split-screen menu for split-screen editing options. To open multiple views into a file, use a file? New view to file menu item.

8. Instant project switching the project in Sublime Text captures the entire contents of the workspace, including modified and unsaved files. You can switch between projects in a manner similar to Goto Anything, and the switch is instant without a save prompt-all changes will be restored the next time the project is opened.

9. High-performance text is built by custom components that provide unparalleled responsiveness. From the powerful custom cross-platform UI toolkit to the unparalleled syntax highlighting engine, Sublime Text sets the performance bar.

10. Cross-platform Sublime Text can be used for Mac,Windows and Linux. No matter which operating system you use, you need to use a license on each computer you own to use Sublime Text. Sublime Text uses a custom UI toolkit that is optimized for speed and beauty, while leveraging native features on each platform.

Sublime text 4 Chinese version shortcut keyboard

Ctrl+L Select the entire row (press and hold-continue to select the following line)

Ctrl+J merging parallelism (when multiple lines to be merged have been selected)

Ctrl+KU changed to uppercase

Ctrl+KL changed to lowercase

Delete Ctrl+KK from the cursor to the end of the line

Convert Ctrl+Shift+c to utf8

Ctrl+R searches the function label of the specified file

Ctrl+G jumps to the specified line

Ctrl+K Backspace is removed from the cursor to the beginning of the line

Ctrl+U soft undo

Ctrl+K0 expands all

Ctrl+KT collapse Properties

Move the Ctrl+M cursor to the start or end position in parentheses

Automatic completion of Ctrl+T word interchange Tab indentation

Shift+Tab remove indent

Ctrl+F2 set Bookmark

F2 next bookmark

Last bookmark on Shift+F2

Alt+. Close the current label

Ctrl+D Select string (press and hold-continue selecting the next same string)

Ctrl+/ comments the whole line (if selected, same as "Ctrl+Shift+/" effect)

Alt+F3 text selection by pressing the shortcut key, you can select all the same text at once and edit the shift+ right mouse button column selection at the same time.

F6 detects syntax errors

Sort F9 lines (by amurz)

F11 full screen mode

Insert a row after the Ctrl+Enter cursor

Insert a row before the Ctrl+Shift+Enter cursor

Ctrl+Shift+ [collapse code

Ctrl+Shift+] deployment code

Ctrl+Shift+ ↑ swaps with uplink

Ctrl+Shift+ ↓ swaps with downlink

Ctrl+Shift+K deletes the entire row

Ctrl+Shift+/ comment has been selected

Ctrl+ left mouse button allows you to select multiple text to edit at the same time

Ctrl+Shift+A Select cursor position parent tag pair

Ctrl+Shift+P opens the command panel

Shift+Tab remove indent

Ctrl+PageDown and Ctrl+PageUp files are switched according to the order before and after opening

Ctrl+Shift+D copies the entire line of the cursor and inserts it before the row

Ctrl+shift+F looks in folders. Unlike ordinary editors, sublime allows multiple folders to be added for lookups.

Ctrl+Shift+L mouse selects multiple lines (press the shortcut key) to edit them at the same time

Ctrl+Shift+M Select the contents in parentheses (press and hold-continue selecting parent parentheses)

Shift+ right mouse button (or middle mouse button) allows vertical multiline selection with the mouse

Alt+Shift+1~9 (non-keypad) small window with equivalent numbers on the screen

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

Database

Wechat

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

12
Report