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 common functions of sublime text

2025-02-24 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 are the common functions of sublime text, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Common features of sublime text

● automatic completion

The shortcut key for automatic completion is Tab. If you enter cl and press tab in the html file, you can automatically complete it to class= "". After adding zencoding, it is even more powerful, which will be discussed later.

● multi-column editing

Hold down ctrl and click the mouse, multiple flashing cursors will appear, and you can modify multiple places at the same time, or hold down the middle mouse button and drag.

● code comment function

Ctrl+/ and ctrl+shift+/ are line comments and block comments respectively, which can be removed with one click. ST2 can automatically identify whether they are html, css or js files and give different types of comments.

● line operation

Ctrl+alt+ ↑, ctrl+alt+ ↓ up or down swap two lines, ctrl+enter, insert a blank line after the cursor, ctrl+d selection is similar, you can refer to the following list of shortcut keys.

● shortcut key

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

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

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

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

Ctrl+KU changed to uppercase

Ctrl+KL changed to lowercase

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

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

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

Convert Ctrl+Shift+c to utf8

Ctrl+R searches the function label of the specified file

Ctrl+G jumps to the specified line

Ctrl+KT collapse Properties

Ctrl+K0 expands all

Ctrl+U soft undo

Ctrl+T word exchange

Automatic completion of Tab indentation

Shift+Tab remove indent

Ctrl+F2 sets bookmarks.

F2 next bookmark

Last bookmark on Shift+F2

Shift+ right mouse button column selection

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

Alt+. Close the current label

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+A Select cursor position parent tag pair

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+K deletes the entire row

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)

Ctrl+Shift+P opens the command panel

Ctrl+Shift+/ comment has been selected

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

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

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

Shift+Tab remove indent

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

These are all the contents of the article "what are the common functions of sublime text". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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