search
HomeDevelopment ToolssublimeHow to set sublime to automatically pop up the beginning

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>"
    ]
}</h1>
<p><strong>3. Save settings</strong></p>
<p>Save settings file . </p>
<h3 id="Description">Description: </h3>
<ul>
<li>
<strong>enabled:</strong> Enable the automatic pop-up function. </li>
<li>
<strong>activate_on_any_completion:</strong> Automatically pop up after any completion operation. </li>
<li>
<strong>completions:</strong> Specifies the list of opening tags to be automatically popped up. Tags can be added or removed as needed. </li>
</ul>
<h3 id="Usage">Usage:</h3>
<p>Once set up, when you type in Sublime Text the beginning of any opening tag that automatically pops up (for example, "</p>
<div>"), it will automatically complete and Pop up the complete tag (<div></div>). </div>
</li>
</ul></a></p></span>
</div></code>

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
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
Sublime Text vs. VS Code: User Interface and User ExperienceSublime Text vs. VS Code: User Interface and User ExperienceApr 22, 2025 am 12:07 AM

SublimeText is suitable for users who pursue simplicity and highly customized, while VSCode is more suitable for users who need one-stop service and better user experience. The SublimeText interface is simple and complex, suitable for advanced users; the VSCode interface is modern and easy to use, suitable for beginners and team collaboration.

The Ultimate Editor Showdown: Sublime Text vs. VS CodeThe Ultimate Editor Showdown: Sublime Text vs. VS CodeApr 21, 2025 am 12:04 AM

SublimeText is suitable for users who pursue speed and simplicity, while VSCode is suitable for users who need rich features and powerful integration capabilities. 1) SublimeText is known for its lightweight and highly customizable, fast and powerful multi-line editing. 2) VSCode is known for its scalability and integration, with built-in Git support and debugging tools, suitable for cross-language development.

Sublime Text and VS Code: Understanding the DifferencesSublime Text and VS Code: Understanding the DifferencesApr 20, 2025 am 12:01 AM

SublimeTextexcelsinspeedandsimplicity,idealforquickeditsandadistraction-freeenvironment,whileVSCodeoffersextensivefeaturesandcustomizationforlargerprojects.SublimeTextislightweightandfast,perfectforfocusedcodingwithasimplecommandpaletteforactionslike

Sublime Text: Coding Features and FunctionalitySublime Text: Coding Features and FunctionalityApr 19, 2025 am 12:06 AM

SublimeText is suitable for programming because it is powerful and flexible. 1) Multiple selection and editing functions allow multiple locations to be modified at the same time to improve reconstruction efficiency. 2) The command panel and shortcut keys provide quick access and custom operations to improve development efficiency. 3) Support regular expressions, macros and plug-ins, suitable for advanced usage and performance optimization.

Sublime Text vs. VS Code: Pricing and LicensingSublime Text vs. VS Code: Pricing and LicensingApr 18, 2025 am 12:02 AM

SublimeText is available for purchase for one time, priced at $70, and is permanently used with a PC; VSCode is free to use, and there is no license fee, but extensions and themes may be charged. When choosing, use requirements and budgets should be considered.

How to run sublimeHow to run sublimeApr 16, 2025 am 09:39 AM

To run Sublime Text, you need to download, install the application, purchase a license (optional), and then launch the application. Create or open a file to start encoding.

How to Chinese sublimeHow to Chinese sublimeApr 16, 2025 am 09:36 AM

Sublime Text can be Chineseized through the following steps: 1. Download the Chinese package; 2. Install the Chinese package; 3. Restart Sublime Text; 4. Set the default language (optional); 5. Verify the Chinese version.

How to delete sublime plug-inHow to delete sublime plug-inApr 16, 2025 am 09:33 AM

There are two ways to delete plugins in Sublime Text: Delete through the Plug-in Manager: Select the plug-in you want to delete and right-click and select "Delete". Manually Delete: Navigate to the user data directory, locate the plugin folder and drag it to the Recycle Bin or Trash.

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

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

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.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.