Home>Article>Development Tools> Recommend useful plug-ins for sublime text3
The followingsublime tutorialcolumn recommendssublime text3plug-in:
sublime text3Recommended 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!