Recommend useful plug-ins for sublime text3
The following sublime tutorial column recommends sublime text3 plug-in:
sublime text3 Recommended plug-in
Package Controller installation
1. Open sublime text 3, press ctrl ~or menu View > Show Console to open the command window.
2. Copy the following code, press Enter, and install Package Controller
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())
3. Press shift control p or Preferences -> Package Control and click Package Controller:Install package to install the plug-in
Basic plug-in
emmet
allows you to write HTML and CSS faster and more efficiently, saving you a lot of time Plug-in (required)
We use vue custom label tab to complete the label. Solution: ctrl e
or customize it in key Bindings-user, such as ctrl q
[ { "keys": [ "ctrl+q" ], "args": { "action": "expand_abbreviation" }, "command": "run_emmet_action", "context": [ { "key": "emmet_action_enabled.expand_abbreviation" } ] } ]
less
supports less highlighting
AllAutocomplete
Sublime Text The default Autocomplete function only considers the current file, while the AllAutocomplete plug-in searches all open files for matching prompt words
DocBlockr
If you follow a strict coding style, this plugin can make your task easier. DocBlokr helps you create comments for your code by parsing functions, parameters, variables, and automatically adding basic items.
Configure Preferences -> Package Settings -> DocBlockr->Settings – Find jsdocs_extra_tags in User and modify jsdocs_extra_tags. You can add additional comments. I am used to using {"jsdocs_extra_tags":["@author XX {{date}}"]}
Usage method/**Press Enter
JavaScript Completions
js code prompts, no explanation of efficiency Much faster
vue plug-in
Vue Syntax Highlight
vue code highlight
vuejs snippets
vue code completion
I’ll introduce these for now, and I’ll share them later when I have fun plug-ins
The above is the detailed content of Recommend useful plug-ins for sublime text3. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











To run Python code in Sublime Text, you need to install the Python plug-in first, then create a .py file and write the code, and finally press Ctrl B to run the code, and the output will be displayed in the console.

There are six ways to run code in Sublime: through hotkeys, menus, build systems, command lines, set default build systems, and custom build commands, and run individual files/projects by right-clicking on projects/files. The build system availability depends on the installation of Sublime Text.

There are two ways to generate HTML code in Sublime Text: Using the Emmet plugin, you can generate HTML elements by entering an abbreviation and pressing the Tab key, or use a predefined HTML file template that provides basic HTML structure and other features such as code snippets, autocomplete functionality, and Emmet Snippets.

Choosing SublimeText or VSCode depends on personal needs: 1. SublimeText is suitable for users who pursue lightweight and efficient editing. It starts quickly but requires a license to purchase. 2. VSCode is suitable for users who need powerful debugging and rich plug-ins. It consumes high resources but is open source and free.

Sublime Text provides shortcuts to improve development efficiency, including commonly used (save, copy, cut, etc.), editing (indentation, formatting, etc.), navigation (project panel, file browsing, etc.), and finding and replacing shortcuts. Proficiency in using these shortcut keys can significantly improve Sublime's efficiency.

SublimeText and VSCode have their own advantages in plug-in ecology and scalability. SublimeText manages plug-ins through PackageControl, which have a small number of plug-ins but high quality, and mainly uses Python script extensions. VSCode has a huge Marketplace, with a large number of plug-ins and frequent updates. It uses TypeScript and JavaScript to expand, and its API is more comprehensive.

How to run Python scripts in Sublime Text: Install Python interpreter configuration Interpreter path in Sublime Text Press Ctrl B (Windows/Linux) or Cmd B (macOS) to run the script If an interactive console is required, press Ctrl \ (Windows/Linux) or Cmd \ (macOS)

To set the shortcut keys for Sublime Text, follow these steps: Open the shortcut key settings file Key Bindings - User. Add shortcut key settings using the format { "keys": ["key combination"], "command": "command" }. Save changes. Reload the shortcut key settings for the changes to take effect.
