forked from AkiraMiyakoda/cppIncludeGuard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
144 lines (144 loc) · 3.84 KB
/
package.json
File metadata and controls
144 lines (144 loc) · 3.84 KB
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
{
"name": "cppincludeguard",
"displayName": "C/C++ Include Guard",
"description": "Insert C/C++ Include Guard",
"version": "0.6.0",
"license": "MIT",
"engines": {
"vscode": "^1.39.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.insertIncludeGuard",
"onCommand:extension.removeIncludeGuard",
"onCommand:extension.updateIncludeGuard"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.insertIncludeGuard",
"title": "Insert C/C++ Include Guard"
},
{
"command": "extension.removeIncludeGuard",
"title": "Remove C/C++ Include Guard"
},
{
"command": "extension.updateIncludeGuard",
"title": "Insert or Update C/C++ Include Guard"
}
],
"configuration": {
"title": "C/C++ Include Guard",
"type": "object",
"properties": {
"C/C++ Include Guard.Macro Type": {
"type": "string",
"enum": [
"GUID",
"Filename",
"Filepath"
],
"enumDescriptions": [
"Random GUID v4. Separated by underscores.",
"File name of the current document. All non-alphanumeric characters are replaced with underscores.",
"File path of the current document. All non-alphanumeric characters are replaced with underscores. Works like Filename outside workspaces."
],
"default": "GUID",
"description": "Source of include guard macros. GUID, Filename or File Path."
},
"C/C++ Include Guard.Path Depth": {
"type": "number",
"default": "0",
"description": "Number of folders which should be used for include guard. Disabled with 0."
},
"C/C++ Include Guard.Remove Pragma Once": {
"type": "boolean",
"default": "true",
"description": "Removes #pragma once directive if detected"
},
"C/C++ Include Guard.Prevent Decimal": {
"type": "boolean",
"default": "true",
"description": "Prevent GUIDs from starting with a decimal number."
},
"C/C++ Include Guard.Prefix": {
"type": "string",
"default": "",
"description": "Prefix added to include guard macros."
},
"C/C++ Include Guard.Suffix": {
"type": "string",
"default": "",
"description": "Suffix added to include guard macros."
},
"C/C++ Include Guard.Skip Comment Blocks": {
"type": "boolean",
"default": "true",
"description": "Insert include guard beneath the first comment blocks."
},
"C/C++ Include Guard.Insert Blank Line": {
"type": "boolean",
"default": "false",
"description": "Insert a blank line after the first comment blocks."
},
"C/C++ Include Guard.Shorten Underscores": {
"type": "boolean",
"default": "true",
"description": "Shorten multiple underscores in filenames or file paths."
},
"C/C++ Include Guard.Remove Extension": {
"type": "boolean",
"default": "false",
"description": "Remove file extension from include guard macros."
},
"C/C++ Include Guard.Comment Style": {
"type": "string",
"enum": [
"Block",
"Line"
],
"enumDescriptions": [
"Block Comment /* */",
"Line Comment //"
],
"default": "Block",
"description": "Comment style for #endif line"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.6",
"@types/node": "^10.12.21",
"@types/vscode": "^1.39.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"typescript": "^3.3.1",
"tslint": "^5.12.1",
"vscode-test": "^1.2.0"
},
"dependencies": {
"uuid": "^3.3.3"
},
"publisher": "akiramiyakoda",
"repository": {
"url": "https://github.com/AkiraMiyakoda/cppIncludeGuard",
"type": "git"
},
"keywords": [
"c",
"c++"
]
}