-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 5.25 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
{
"name": "end-fix",
"displayName": "end-fix",
"description": "end strange whitespace fix",
"version": "0.0.12",
"publisher": "cqh",
"repository": {
"type": "git",
"url": "https://github.com/chen19901225/vsc-python-end-fix"
},
"bugs": {
"url": "https://github.com/chen19901225/vsc-python-end-fix/issues"
},
"engines": {
"vscode": "^1.32.0"
},
"categories": [
"Other"
],
"keywords": [
"format",
"End",
"whitespace"
],
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Trailing End Spaces Configuration",
"properties": {
"python-end-fix.logLevel": {
"type": "string",
"enum": [
"none",
"log",
"info",
"warn",
"error"
],
"default": "warn",
"description": "Controls the verbosity of logging. Logs can be seen in the console by opening the dev tools. `log` is the most verbose and `error` will only show critical errors."
},
"python-end-fix.regexp": {
"type": "string",
"default": "[ \t]+",
"description": "By default, only simple spaces and tabs are matched as \"trailing spaces\"."
},
"python-end-fix.liveMatching": {
"type": "boolean",
"default": true,
"description": "By default, Trailing Spaces is \"live\". It means the trailing spaces regions will be matched in the background, and highlighted if a color scope is defined, when the document is opened and edited. Set to false to disable live matching and highlighting (the deletion command remains available, so-called \"lazy matching\")."
},
"python-end-fix.extListAllowed": {
"type": "array",
"default": [
".py",
".rst",
".html",
".js",
".ts",
".json",
".j2"
],
"description": "file extension allowed"
},
"python-end-fix.includeEmptyLines": {
"type": "boolean",
"default": true,
"description": "By default, empty lines are cleared as well when calling the deletion command. Set to false to ignore empty lines upon deletion."
},
"python-end-fix.trimOnSave": {
"type": "boolean",
"default": false,
"description": "Controls whether trailing spaces are trimmed automatically when saving a file."
},
"python-end-fix.showStatusBarMessage": {
"type": "boolean",
"default": true,
"description": "By default, trailing space deletions will be communicated through a status bar message. Set to false to disable these messages."
},
"python-end-fix.backgroundColor": {
"type": "string",
"default": "rgba(255,0,0,0.3)",
"description": "Controls the background color of the trailing space decoration."
},
"python-end-fix.borderColor": {
"type": "string",
"default": "rgba(255,100,100,0.15)",
"description": "Controls the color of the border around the trailing space decoration."
}
}
},
"keybindings": [
{
"command": "python-end-fix.new-end",
"key": "End",
"when": "editorTextFocus && !editorHasSelection "
},
{
"command": "python-end-fix.select-current-line",
"key": "Alt+L",
"when": "editorTextFocus"
}
],
"commands": [
{
"command": "python-end-fix.new-end",
"title": "python-end-fix.new-end"
},
{
"command": "python-end-fix.select-current-line",
"title": "python-end-fix.select-current-line"
},
{
"command": "python-end-fix.highlight",
"title": "python-end-fix.highlight"
},
{
"command": "python-end-fix.delete",
"title": "python-end-fix: delete"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"mocha": "^8.1.3",
"typescript": "^2.0.3",
"vscode": "^1.0.0"
}
}