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

What are the Sublime Text3 shortcut keys?

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Editor to share with you what Sublime Text3 shortcuts are, I hope you have something to gain after reading this article, let's discuss it together!

Sublime Text 3 keyboard shortcuts essential version

Ctrl+Shift+P: open the command panel

Ctrl+P: searching for files in a project

Ctrl+G: jump to which line

Ctrl+W: closes the currently open file

Ctrl+Shift+W: close all open files

Ctrl+Shift+V: pasting and formatting

Ctrl+D: select a word. Repetition increases the selection of the next same word.

Ctrl+L: select a row, repeat to increase the selection of the next row in turn

Ctrl+Shift+L: selecting multiple Lin

Ctrl+Shift+Enter: inserts a new row before the current row

Ctrl+X: delete the current line

Ctrl+M: jump to corresponding parentheses

Ctrl+U: soft undo, undo cursor position

Ctrl+J: select tag content

Ctrl+F: finding content

Ctrl+Shift+F: find and replace

Ctrl+H: replacing

Ctrl+R: go to method

Ctrl+N: create a new window

Ctrl+K+B: switch sidebar

Ctrl+Shift+M: select the content of the current parenthesis, repeat with the parenthesis itself

Ctrl+F2: setting / deleting markup

Ctrl+/: comments the current line

Insert comments in Ctrl+Shift+/: 's current location

Ctrl+Alt+/: block comments, and Focus to the first line, used to write comments

Ctrl+Shift+A: modify the tag before and after selecting the current tag

F11: full screen

Shift+F11: full-screen do not Disturb mode, only edit the current file

Alt+F3: select all the same words

Alt+.: closure label

Alt+Shift+ numbers: split-screen display

Alt+ digits: toggle opening Nth file

Shift+ right drag: the cursor is used to change or insert column contents.

The forward and backward keys of the mouse can switch Tab files.

Press Ctrl, click or select, multiple locations that need to be edited

Press the Ctrl+Shift+ up and down keys to replace the line

Select CLA

Ctrl+D selects the text occupied by the cursor, and if you continue, the next same text will be selected.

Alt+F3 select Chinese text by pressing the shortcut key, you can select all the same text at one time for editing at the same time. Take a chestnut: quickly select and change all the same variable names, function names, etc.

Ctrl+L selects the entire row and continues to select the next row, which has the same effect as Shift+ ↓.

Ctrl+Shift+L selects multiple lines and then presses the shortcut key to insert a cursor at the end of each line to edit them at the same time.

Ctrl+Shift+M selects what is in parentheses (continue selecting parent parentheses). Take a chestnut: quickly select the code in the delete function, rewrite the function body code, or rewrite the contents in parentheses.

The Ctrl+M cursor moves to the end or start position in parentheses.

Ctrl+Enter inserts a new row on the next line. Take a chestnut: you can quickly insert a row down even if the cursor is not at the end of the line.

Ctrl+Shift+Enter inserts a new row on the previous line. Take a chestnut: you can quickly insert a row up even if the cursor is not at the beginning of the line.

Ctrl+Shift+ [check the code, press the shortcut key, and collapse the code.

Ctrl+Shift+] check the code, press the shortcut key, and expand the code.

Ctrl+K+0 expands all collapsed code.

Ctrl+ ← moves the cursor to the left, moving it quickly.

Ctrl+ → uniformly moves the cursor to the right, moving it quickly.

Shift+ ↑ selects multiple lines up.

Shift+ ↓ selects multiple lines down.

Shift+ ← selects the Chinese text to the left.

Shift+ → selects the Chinese text to the right.

Ctrl+Shift+ ← selects the Chinese text to the left.

Ctrl+Shift+ → selects the Chinese text to the right.

Ctrl+Shift+ ↑ swaps the line of the cursor with the previous line of code (inserts the line of the cursor before the previous line).

Ctrl+Shift+ ↓ swaps the line of the cursor with the next line of code (inserts the line of the cursor after the next line).

Ctrl+Alt+ ↑ adds a multiline cursor up to edit multiple lines at the same time.

Ctrl+Alt+ ↓ adds a multiline cursor down to edit multiple lines at the same time.

Edit class

Ctrl+J merges selected multiple lines of code into one line. Take a chestnut: merge the CSS attributes in a multi-line format into one line.

Ctrl+Shift+D copies the entire line of the cursor and inserts it into the next line.

Tab indents to the right.

Shift+Tab indents to the left.

Ctrl+K+K removes the code from the cursor to the end of the line.

Ctrl+Shift+K deletes the entire row.

Ctrl+/ comment single line.

Ctrl+Shift+/ comments multiple lines.

Ctrl+K+U converts uppercase.

Ctrl+K+L converts lowercase.

Ctrl+Z revoked.

Ctrl+Y resumes revocation.

Ctrl+U soft undo, feel the same as Gtrl+Z.

Ctrl+F2 set Bookmark

The left and right letters of Ctrl+T are interchangeable.

F6 word spelling detection

Search class

Ctrl+F opens the bottom search box to find the keyword.

Ctrl+shift+F looks in folders, unlike ordinary editors, sublime allows you to add multiple folders to find, slightly high-end, unstudied.

Ctrl+P opens the search box. For example, Chestnut: 1, enter the file name in the current project, quickly search for the file, 2, enter @ and keywords, find the function name in the file, 3, enter: and number, jump to the file line code, 4, enter # and keyword, find the variable name.

Ctrl+G opens the search box and automatically jumps to the line of code with:, enter a number. Take Chestnut: quickly locate in a file with a long page code.

Ctrl+R opens the search box, automatically with @, enter keywords, and find the name of the function in the file. Take a chestnut: quickly find a function on a page with more functions.

Ctrl+: opens the search box, automatically takes #, enters keywords, and looks for variable names, attribute names, and so on.

Ctrl+Shift+P opens the command box. Scene Chestnut: open the naming box, enter keywords, and invoke sublime text or plug-in functions, such as using package to install plug-ins.

Esc exit cursor multi-line selection, exit search box, command box, etc.

Display class

Ctrl+Tab toggles the tabs of the current window in the order in which the files have been browsed.

Ctrl+PageDown toggles the tab of the current window to the left.

Ctrl+PageUp toggles the tab of the current window to the right.

Alt+Shift+1 window split screen, restore the default 1 screen (non-keypad number)

Alt+Shift+2 left and right split screen-2 columns

Alt+Shift+3 left and right split screen-3 columns

Alt+Shift+4 left and right split screen-4 columns

Alt+Shift+5 is divided into 4 screens.

Alt+Shift+8 Vertical split screen-2 screen

Alt+Shift+9 Vertical split screen-3 screens

Ctrl+K+B turns the sidebar on / off.

F11 full screen mode

Shift+F11 do not Disturb Mode

After reading this article, I believe you have a certain understanding of "what are the Sublime Text3 shortcuts". If you want to know more about it, welcome to follow the industry information channel. Thank you for your reading!

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