-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
112 lines (112 loc) · 4.4 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
{
"name": "format-modified",
"displayName": "Format Modified",
"description": "Format modified sections of files",
"icon": "resources/icon.png",
"version": "0.0.30",
"publisher": "Gruntfuggly",
"repository": "https://github.com/Gruntfuggly/format-modified",
"engines": {
"vscode": "^1.5.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"*"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "format-modified.format",
"title": "Format modified sections",
"category": "Format Modified"
},
{
"command": "format-modified.formatWholeDocument",
"title": "Format whole document",
"category": "Format Modified"
},
{
"command": "format-modified.formatSelection",
"title": "Format selection",
"category": "Format Modified"
},
{
"command": "format-modified.setConfigurationFileForThisFile",
"title": "Set Configuration File For This File",
"category": "Format Modified"
},
{
"command": "format-modified.setConfigurationFileForWorkspace",
"title": "Set Configuration File For Workspace",
"category": "Format Modified"
}
],
"configuration": {
"type": "object",
"title": "Format Modified",
"properties": {
"format-modified.debug": {
"type": "boolean",
"markdownDescription": "Set to true to create an output channel showing debug information",
"default": false
},
"format-modified.executable": {
"type": "string",
"markdownDescription": "Location of clang-format executable"
},
"format-modified.formatWholeDocument": {
"type": "boolean",
"markdownDescription": "Set to true to force the whole document to be formatted",
"default": false
},
"format-modified.formatWholeDocumentOnFailure": {
"type": "boolean",
"markdownDescription": "When the diffs for a file can't be generated (if the file has not been added to git, for example) then the whole document is formatted. Set to false to do nothing.",
"default": true
},
"format-modified.languages": {
"type": "array",
"items": {
"type": "string"
},
"markdownDescription": "Languages which should be formatted (Use *F1* -> *Change Language Mode* to show a list)",
"default": [
"cpp"
],
"pattern": "(cpp|c|objective-c|objective-cpp|java|javascript|typescript|proto)"
},
"format-modified.configurationFileMapping": {
"type": "object",
"markdownDescription": "Globs to apply alternative .clang-format files",
"default": {}
},
"format-modified.alternativeConfigurationFiles": {
"type": "array",
"markdownDescription": "A list of alternative .clang-format files which can be associated with a file using the Set Format File command",
"items": {
"type": "string"
},
"default": []
},
"format-modified.showCurrentConfigurationFileInStatusBar": {
"type": "boolean",
"markdownDescription": "Show the configuration file which will be used to format the current file in the status bar",
"default": true
}
}
}
},
"dependencies": {
"micromatch": "^4.0.2",
"parse-diff": "^0.5.1",
"yamljs": "^0.3.0"
},
"__metadata": {
"id": "8e4d7336-2a86-4693-9e29-8dba19a92732",
"publisherDisplayName": "Gruntfuggly",
"publisherId": "d4906d2e-f2ee-492d-9c7c-02b6160599ec"
}
}