Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>vscode-vue-components-helperNew to Visual Studio Code? Get it now.
vscode-vue-components-helper

vscode-vue-components-helper

adi

|
176 installs
| (1) | Free
A vscode extension for vue components helper
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-vue-components-helper

vscode-vue-components-helper is a VS Code extension for Vue.

Feature

  • Autocomplete

Autocomplete

autocomplete

  • Distinguish and auto complete property and method for every components tag.

Configuration

  1. Create component label configuration file touch tags.js
// tags.js
module.exports = {
  "global-demo-button": {
    // Default fill properties
    defaults: ["type"],
    // Label attribute list
    attributes: [
      "type",
      "size",
    ],
    // Annotation
    description: "to trigger an operation",
  },
  // More ...
}
  1. Create a component property profile touch attrs.js
// attrs.js
module.exports = {
  "global-demo-button/type": {
    // Optional
    options: [
      "primary",
      "others",
      "default",
      "black",
    ],
    // Defaults
    defaultValue: "primary",
    // Attribute value type
    optionType: "String",
    // Prompt
    description: "to trigger an operation",
  },
  "global-demo-button/size": {
    options: ["medium", "small", "mini"],
    defaultValue: "medium",
    optionType: "String",
    description: "to trigger an operation",
  },
  // More ...
}
  1. Configure plugin

vscode => preference => setting up => expand => vscode-vue-components-helper

vscode-setting.png input attrs.js 、 tags.js file path.

// examples
windows: C:/PATH/.../tags.js
macOS: /Users/PATH/.../tags.js
  1. Reopen vscode

  2. Complete

Support

  • Vue

Contribution

If you want to help improve this project, Please fork and initiate. a pull request after you fix some bugs or finished some new features. Your pull request will make vscode-vue-components-helper better.

LICENSE

MIT


Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft