This repository has been archived by the owner on May 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
201 lines (201 loc) · 7.06 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
{
"name": "cfold",
"displayName": "Cfold",
"description": "Folding provider particular designed for C, C++.",
"version": "0.2.6",
"publisher": "reapler",
"homepage": "https://github.com/reapler/vscode-cfold",
"repository": {
"type": "git",
"url": "https://github.com/reapler/vscode-cfold.git"
},
"bugs": {
"url": "https://github.com/reapler/vscode-cfold/issues"
},
"author": {
"name": "reapler",
"email": "[email protected]"
},
"license": "MIT",
"engines": {
"vscode": "^1.55.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"title": "Toggle log",
"category": "cfold",
"command": "cfold.toggleLog"
},
{
"title": "Fold all provided fold controls",
"category": "cfold",
"command": "cfold.foldAll"
},
{
"title": "Fold all comments & documentation blocks",
"category": "cfold",
"command": "cfold.foldDocComments"
},
{
"title": "Fold all controls around cursor",
"category": "cfold",
"command": "cfold.foldAroundCursor"
},
{
"title": "Fold all functions",
"category": "cfold",
"command": "cfold.foldFunction"
},
{
"title": "Fold all functions, classes, structs & enums",
"category": "cfold",
"command": "cfold.foldFunctionClassStructEnum"
}
],
"configuration": {
"type": "object",
"title": "cfold",
"properties": {
"cfold.caseLabel.enable": {
"type": "boolean",
"default": false,
"description": "Enable fold controls for case labels within a switch."
},
"cfold.caseLabel.minLines": {
"type": "integer",
"default": 0,
"description": "Minimum lines for providing fold controls for case labels within a switch."
},
"cfold.class.enable": {
"type": "boolean",
"default": false,
"description": "Enable fold controls for classes."
},
"cfold.commentQuote.enable": {
"type": "boolean",
"default": true,
"description": "Enable fold controls for comment blocks (/* */)."
},
"cfold.commentSlash.enable": {
"type": "boolean",
"default": true,
"description": "Currently not implemented."
},
"cfold.documentationQuote.enable": {
"type": "boolean",
"default": true,
"description": "Enable fold controls for documentation blocks (/** */)."
},
"cfold.documentationSlash.enable": {
"type": "boolean",
"default": true,
"description": "Currently not implemented."
},
"cfold.enum.enable": {
"type": "boolean",
"default": false,
"description": "Enable fold controls for enums."
},
"cfold.function.enable": {
"type": "boolean",
"default": true,
"description": "Enable fold controls for functions."
},
"cfold.namespace.enable": {
"type": "boolean",
"default": false,
"description": "Enable fold controls for namespaces."
},
"cfold.preprocessor.enable": {
"type": "boolean",
"default": true,
"description": "Enable fold controls for preprocessor directives."
},
"cfold.preprocessor.ignoreGuard": {
"type": "boolean",
"default": true,
"description": "Disable fold controls for header guards."
},
"cfold.preprocessor.minLines": {
"type": "integer",
"default": 0,
"description": "Minimum lines for providing fold controls for preprocessor directives."
},
"cfold.preprocessor.recursiveDepth": {
"type": "integer",
"default": 1,
"description": "Sets the recurse level for providing fold controls for preprocessor directives."
},
"cfold.struct.enable": {
"type": "boolean",
"default": false,
"description": "Enable fold controls for structs."
},
"cfold.withinFunction.enable": {
"type": "boolean",
"default": true,
"description": "Enable fold controls within functions. ({})"
},
"cfold.withinFunction.minLines": {
"type": "integer",
"default": 0,
"description": "Minimum lines for providing fold controls within functions."
},
"cfold.language.c": {
"type": "boolean",
"default": true,
"description": "Enable Cfold for c language."
},
"cfold.language.cpp": {
"type": "boolean",
"default": true,
"description": "Enable Cfold for c++ language."
},
"cfold.language.csharp": {
"type": "boolean",
"default": true,
"description": "Enable Cfold for c# language."
}
}
}
},
"main": "./out/extension",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/fs-extra": "^8.1.0",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^11.15.54",
"@types/vscode": "^1.56.0",
"chai": "^4.3.4",
"fs-extra": "^8.1.0",
"mocha": "^7.1.1",
"typescript": "^2.9.2",
"vscode-test": "^1.5.2"
},
"keywords": [
"folding",
"fold",
"collapse",
"c",
"c++",
"cpp"
],
"dependencies": {
"diff": "^4.0.2"
}
}