Set the automatic pop-up beginning in Sublime Text
Answer to the question:
To set the automatic pop-up beginning in Sublime Text, you can follow the following steps:
Steps:
1. Open User Settings
- Windows: File> Preferences> Settings
- Mac: Sublime Text > Preferences> Settings
2. Add code in the settings file
<code>"auto_complete": {
"enabled": true,
"activate_on_any_completion": true,
"completions": [
"<div>",
"<span>",
"<p>",
"<a>",
"<ul>",
"<li>",
"<h1>"
]
}</code>
Copy after login
3. Save settings
Save settings file .
Description:
-
enabled: Enable the automatic pop-up function.
-
activate_on_any_completion: Automatically pop up after any completion operation.
-
completions: Specifies the list of opening tags to be automatically popped up. Tags can be added or removed as needed.
Usage:
Once set up, when you type in Sublime Text the beginning of any opening tag that automatically pops up (for example, "
"), it will automatically complete and Pop up the complete tag (
).
The above is the detailed content of How to set sublime to automatically pop up the beginning. For more information, please follow other related articles on the PHP Chinese website!
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn