1 Star 1 Fork 10

Peter2009/vue-snippets

forked from Eno/vue-snippets 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 3.70 KB
一键复制 编辑 原始数据 按行查看 历史
enoyao 提交于 2020-08-23 18:07 . hide tooltip
{
"name": "vue",
"displayName": "Vue 3 Snippets Highlight Formatters",
"description": "Vue 2 && 3 Code Snippets, Syntax Highlight And Code Formatters Into Visual Studio Code.",
"icon": "public/logo.png",
"author": {
"name": "Eno Yao",
"email": "kalone.cool@gmail.com",
"url": "https://github.com/Wscats"
},
"publisher": "Wscats",
"version": "1.0.7",
"license": "MIT",
"engines": {
"vscode": "^1.40.0"
},
"galleryBanner": {
"color": "#58bc58",
"theme": "dark"
},
"activationEvents": [
"*",
"onCommand:vue3snippets.compileOn",
"onCommand:vue3snippets.compileOff"
],
"main": "./extension.js",
"keywords": [
"vue",
"vue2",
"vue3",
"vuejs",
"vue.js",
"composition-api",
"composition",
"function-api",
"function",
"html",
"javascript",
"snippet",
"api",
"cnode"
],
"homepage": "https://github.com/wscats/vue-snippets#readme",
"repository": {
"type": "git",
"url": "https://github.com/wscats/vue-snippets"
},
"bugs": {
"url": "https://github.com/wscats/vue-snippets/issues",
"email": "kalone.cool@gmail.com"
},
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"contributes": {
"configuration": {
"title": "Auto Format Vue",
"properties": {
"vue3snippets.enable-compile-vue-file-on-did-save-code": {
"type": "boolean",
"default": true,
"description": "Enable compile vue file on did save code."
},
"vue3snippets.html_indent_root": {
"type": "boolean",
"default": false,
"description": "If indent the root-tag in .vue's template."
},
"vue3snippets.format_need": {
"type": "array",
"default": [
"html",
"js",
"css"
],
"description": "List of format, default [\"html\", \"js\", \"css\"]."
},
"vue3snippets.break_attr_limit": {
"type": "number",
"default": -1,
"description": "Break attributes when tag's attributes.length > this number, no break when -1."
},
"vue3snippets.attr_end_with_gt": {
"type": "boolean",
"default": true,
"description": "If end attrs width '>' when break_attr_limit."
},
"vue3snippets.js-beautify": {
"type": "object",
"default": {
"indent_size": "editor.tabSize",
"indent_char": " ",
"indent_with_tabs": false,
"brace-style": "collapse",
"space_after_anon_function": true,
"css": {},
"js": {},
"html": {
"force_format": [
"template"
]
}
},
"description": "The config use some js-beautify options, see js-beautify."
},
"vue3snippets.pug-beautify": {
"type": "object",
"default": {
"fill_tab": false
},
"description": "The config use some pug-beautify options, see pug-beautify."
}
}
},
"languages": [
{
"id": "vue",
"aliases": [
"Vue",
"vue"
],
"extensions": [
".vue"
]
}
],
"grammars": [
{
"language": "vue",
"scopeName": "text.html.vue",
"path": "./syntaxes/vue.tmLanguage"
}
],
"snippets": [
{
"language": "javascript",
"path": "./snippets/javascript.json"
},
{
"language": "typescript",
"path": "./snippets/javascript.json"
},
{
"language": "html",
"path": "./snippets/javascript.json"
},
{
"language": "html",
"path": "./snippets/vue.json"
},
{
"language": "vue",
"path": "./snippets/javascript.json"
},
{
"language": "vue",
"path": "./snippets/vue.json"
},
{
"language": "vue",
"path": "./snippets/html.json"
},
{
"language": "jade",
"path": "./snippets/pug.json"
}
]
},
"scripts": {
"build": "vsce package"
},
"dependencies": {
"js-beautify": "^1.13.0",
"pug-beautify": "^0.1.1"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/eter2009/vue-snippets.git
git@gitee.com:eter2009/vue-snippets.git
eter2009
vue-snippets
vue-snippets
master

搜索帮助