Home > Development Tools > sublime > body text

Recommend useful plug-ins for sublime text3

藏色散人
Release: 2019-09-20 13:37:17
forward
6203 people have browsed it

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())
Copy after login

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"
            }
        ]
    }
]
Copy after login

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!

Related labels:
source:segmentfault.com
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!