search
HomeDevelopment ToolssublimeSublime Text 3 quickly generates HTML5 header information

The following tutorial column of sublime will introduce Sublime Text 3 to quickly generate HTML5 header information and common shortcut keys. I hope it will be helpful to friends in need!

Sublime Text 3 quickly generates HTML5 header information

1. Steps to quickly generate HTML5 header information:

1.Ctrl N, create a new document;

2. Ctrl Shift P, open the command mode, then enter sshtml for fuzzy matching, switch the syntax to html mode;

3. Enter !, and then press the Tab key or Ctrl E to quickly open the overall structure of HTML5 .

2. Very commonly used shortcut keys:

Ctrl P, open the search box. The specific operations are: 1. Enter the file name in the current project to quickly search the file. 2. Enter @ and keywords to find the function name in the file. 3. Enter: and number to jump to the line of code in the file. 4. Enter # and keywords to find variable names.
Ctrl press Enter to add a blank line to the next line of the current line.
Ctrl Shift Enter to add a blank line to the previous line of the current line.
Ctrl Z, undo.
Ctrl Y, cancel the undo.
Ctrl ], or Tab key, indent to the right.
Ctrl [, or Shift Tab, indent to the left.
Ctrl Shift V, maintain indentation during pasting.
Alt F3, select the selected word.
The ">" sign is the sub-element selector; the "." sign is followed by the class name; the "$" sign represents the sequence number.​

For example: enter ul>.item$*10, and then press Ctrl E, an unnecessary list will be output at once. There are 10 li lines with the class name item in the list.

Undoubtedly, this method of entering multiple lines at one time is very fast. If multiple lines have the same operation, you can use a multi-line cursor. Alt F3 will select the word previously selected by the mouse. At this time, multiple lines are selected. Press the arrow keys to move, press { } to enter content, and finally move the cursor Move out of }, Ctrl E will output all the contents within { }, and output multiple lines at a time. For example, after selecting all, enter h2 { this .... }, and then Ctrl E, multiple lines of this.... in h2 size font will be output.

The above is the detailed content of Sublime Text 3 quickly generates HTML5 header information. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:cnblogs. If there is any infringement, please contact admin@php.cn delete
Sublime Text: Your Coding CompanionSublime Text: Your Coding CompanionMay 02, 2025 am 12:01 AM

SublimeTextisapowerfulcodingcompanionduetoitsspeed,customization,andkeyfeatures.1)Itoffersincrediblespeedforhandlinglargefiles.2)Itsflexibilityallowsextensivecustomizationwithpluginsandthemes.3)Featureslikemultiplecursors,GotoAnything,CommandPalette,

Choosing Between Sublime Text and VS Code: Which Editor is Best?Choosing Between Sublime Text and VS Code: Which Editor is Best?May 01, 2025 am 12:03 AM

SublimeText is more suitable for users who work with large files and prefer lightweight editors, while VSCode is more suitable for users who need IDE capabilities and powerful scalability. 1.SublimeText is known for its speed and simplicity, and is suitable for handling large files. 2.VSCode is known for its scalability and Microsoft support, and is suitable for users who need IDE capabilities.

Sublime Text: An Introduction to the Code EditorSublime Text: An Introduction to the Code EditorApr 30, 2025 am 12:11 AM

SublimeText is a powerful and flexible code editor that is worthy of exploration by programmers. 1) It supports multiple selection and editing, allowing multiple locations to be modified at the same time. 2) The plug-in system is rich and extensible. 3) The basic usage is intuitive, and the advanced usage includes regular expressions and macros. 4) Common errors such as plug-in conflicts can be resolved by uninstalling or adjusting the configuration. 5) Performance optimization is achieved through management plug-ins and configuration files.

Sublime Text for Developers: A Guide to Using the EditorSublime Text for Developers: A Guide to Using the EditorApr 29, 2025 am 12:15 AM

SublimeText is popular among developers for its fast, powerful and rich plug-in ecosystem. 1. Multi-line editing and multi-cursor functions allow multiple text modifications at the same time. 2. Command panel and shortcut keys improve operation efficiency. 3. Use PackageControl management plug-in to meet various development needs. SublimeText is ideal for developers to improve programming efficiency.

Sublime Text: Exploring Pricing and AvailabilitySublime Text: Exploring Pricing and AvailabilityApr 28, 2025 am 12:03 AM

SublimeText is priced at $99 (starting from personal and commercial licenses), with a one-time purchase model that supports Windows, macOS and Linux: 1. A free trial version is available, and it is permanently used after purchase and is updated; 2. It can be downloaded from the official website or third-party store, but it is recommended to purchase from the official website to ensure flexibility.

Accessing Sublime Text: Exploring Your OptionsAccessing Sublime Text: Exploring Your OptionsApr 27, 2025 am 12:24 AM

You can get SublimeText by trialing for free, purchasing a license, or applying for an education license. 1) Free trial: No time limit, but you will prompt to purchase when saving the file. 2) Purchase a license: Pay $99 in one lump sum, get lifelong updates and support. 3) Education license: Students and educators can enjoy discounts and must verify their identity.

Sublime Text: Exploring Its CapabilitiesSublime Text: Exploring Its CapabilitiesApr 26, 2025 am 12:10 AM

SublimeText is a powerful text editor suitable for a variety of programming languages ​​and file formats. 1. Multiple selection and editing functions allow multiple locations to be modified at the same time to improve editing efficiency. 2. The command panel is accessed through shortcut keys and performs various operations, such as formatting code and managing plug-ins.

Sublime Text Evaluation: The Free to Try OptionSublime Text Evaluation: The Free to Try OptionApr 25, 2025 am 12:08 AM

SublimeText is available for free, but every once in a while, a purchase prompt pops up. 1) It supports multiple programming languages, has a simple interface and a powerful plug-in ecosystem. 2) Users can optimize the user experience by closing unnecessary plug-ins, regularly updating and using shortcut keys.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.