0.0.38 • Published 5 months ago

fast-create-variable v0.0.38

Weekly downloads
-
License
-
Repository
github
Last release
5 months ago

Select the variable name to quickly provide the creation type, such as ref, computed, methods, function, arrowFunction, watch, reactive, etc. According to whether it is currently vue2 or vue3, generate the corresponding variable and jump to the newly created variable location.

Explain the function of this plug-in. Normally, when we write code, we write template first, such as el-input and then write events such as v-model or @click, and then go to the top to define ref, or function. Through this plug-in, you can directly generate the corresponding variable or method in js logic, and then you can initialize the variable value and supplement the function logic according to your needs, which will save you a lot of time and initialize the coding burden of variables.

VUE

vue

JSX

jsx

🚀 Support

  • vue
  • jsx (react)
  • svelte

⌨️ Keybindings

  • win: ctrl+g
  • mac: cmd+g

Configuration

    "configuration": {
      "type": "object",
      "title": "fast-create-variable",
      "properties": {
        "fast-create-variable.atTop": {
          "type": "boolean",
          "default": false,
          "description": "Generate data, methods, etc. for vue2 at the top or at the bottom"
        },
        "fast-create-variable.sound": {
          "type": "boolean",
          "default": false,
          "description": "Play sound when variable is created"
        }
      }
    }

:coffee:

buy me a cup of coffee

Sponsors

0.0.38

5 months ago

0.0.25

7 months ago

0.0.22

7 months ago

0.0.7

7 months ago