forked from kleber-swf/vscode-unity-code-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
142 lines (142 loc) · 3.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "unity-code-snippets",
"displayName": "Unity Code Snippets",
"description": "All snippets you need for Unity3D development",
"version": "2.4.0",
"publisher": "kleber-swf",
"repository": {
"type": "git",
"url": "https://github.com/kleber-swf/vscode-unity-code-snippets"
},
"author": {
"name": "Kleber Silva",
"email": "[email protected]",
"url": "http://kleber-swf.com"
},
"bugs": {
"url": "https://github.com/kleber-swf/vscode-unity-code-snippets/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/kleber-swf/vscode-unity-code-snippets",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#b5bcca",
"theme": "light"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Snippets"
],
"keywords": [
"unity",
"monobehaviour",
"csharp",
"gamedev",
"snippet",
"configurable",
"allman",
"k&r"
],
"files": [
"styles",
"snippets"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": [
{
"title": "Unity Code Snippets",
"properties": {
"unity-code-snippets.style": {
"type": "string",
"markdownDescription": "Select the [indentation style](https://en.wikipedia.org/wiki/Indentation_style) for the snippets",
"order": 0,
"default": "kr",
"enum": [
"kr",
"allman"
],
"enumItemLabels": [
"K&R",
"Allman (C# Default)"
],
"markdownEnumDescriptions": [
"Formats using [K&R Style](https://en.wikipedia.org/wiki/Indentation_style#K&R_style)",
"Formats using [Allman Style](https://en.wikipedia.org/wiki/Indentation_style#Allman_style)"
]
},
"unity-code-snippets.usePrivateKeyword": {
"type": "boolean",
"order": 10,
"markdownDescription": "Use `private` accessor keyword for private members",
"default": true
},
"unity-code-snippets.autoComplete.classes": {
"type": "boolean",
"order": 100,
"markdownDescription": "Auto complete classes like `MonoBehaviour` and `Editor`.",
"default": true
},
"unity-code-snippets.autoComplete.methods": {
"type": "boolean",
"order": 110,
"markdownDescription": "Auto complete methods like `Start` and `OnCollisionEnter`.",
"default": true
},
"unity-code-snippets.autoComplete.calls": {
"type": "boolean",
"order": 120,
"markdownDescription": "Auto complete utility calls like `Debug.Log` and `Debug.DrawLine`.",
"default": true
},
"unity-code-snippets.autoComplete.attributes": {
"type": "boolean",
"order": 130,
"markdownDescription": "Auto complete attributes like `[SerializeField]` and `[RequireComponent]`.",
"default": true
},
"unity-code-snippets.autoComplete.experimentalAttributes": {
"type": "boolean",
"order": 140,
"markdownDescription": "[Experimental] Auto complete all other attributes like `[HideInInspector]` and `[ContextMenu]`. There are a lot o attributes and this can pollute your Intellisense popup.",
"default": false
}
}
}
],
"snippets": [
{
"language": "csharp",
"path": "./snippets/snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"vsce:build": "vsce package",
"vsce:publish": "vsce publish; echo \"Don't forget to publish to https://open-vsx.org/\""
},
"devDependencies": {
"@types/vscode": "^1.80.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^5.1.3",
"@vscode/test-electron": "^2.3.2"
}
}