-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
167 lines (167 loc) · 7.11 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
{
"name": "trailing-spaces",
"displayName": "Trailing Spaces",
"description": "Highlight trailing spaces and delete them in a flash!",
"version": "0.4.1",
"publisher": "shardulm94",
"icon": "icon.png",
"engines": {
"vscode": "^1.68.0"
},
"extensionKind": [
"workspace"
],
"categories": [
"Other"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Trailing Spaces Configuration",
"properties": {
"trailing-spaces.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."
},
"trailing-spaces.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."
},
"trailing-spaces.highlightCurrentLine": {
"type": "boolean",
"default": true,
"description": "By default, the lines being currently edited (i.e. with active cursors) will have its trailing spaces highlighted. Set to false to ignore trailing spaces on the current lines."
},
"trailing-spaces.regexp": {
"type": "string",
"default": "[ \t]+",
"description": "By default, only simple spaces and tabs are matched as \"trailing spaces\"."
},
"trailing-spaces.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\")."
},
"trailing-spaces.deleteModifiedLinesOnly": {
"type": "boolean",
"default": false,
"description": "By default, trailing spaces are deleted within the whole document. Set to true to affect only the lines you edited since last save. Trailing spaces will still be searched for and highlighted in the whole document."
},
"trailing-spaces.syntaxIgnore": {
"type": "array",
"default": [],
"description": "With this option you can ignore specific files based on the syntax used. An item has to match the case-sensitive string of the language used in the file."
},
"trailing-spaces.schemeIgnore": {
"type": "array",
"default": [
"output"
],
"description": "With this option you can ignore specific schemes. An item has to match the case-sensitive string of the scheme of the document."
},
"trailing-spaces.trimOnSave": {
"type": "boolean",
"default": false,
"description": "Controls whether trailing spaces are trimmed automatically when saving a file."
},
"trailing-spaces.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."
},
"trailing-spaces.backgroundColor": {
"type": "string",
"default": "rgba(255,0,0,0.3)",
"description": "Controls the background color of the trailing space decoration."
},
"trailing-spaces.borderColor": {
"type": "string",
"default": "rgba(255,100,100,0.15)",
"description": "Controls the color of the border around the trailing space decoration."
}
}
},
"commands": [
{
"command": "trailing-spaces.deleteTrailingSpaces",
"title": "Delete",
"category": "Trailing Spaces"
},
{
"command": "trailing-spaces.deleteTrailingSpacesModifiedLinesOnly",
"title": "Delete - Modified Lines Only",
"category": "Trailing Spaces"
},
{
"command": "trailing-spaces.highlightTrailingSpaces",
"title": "Highlight",
"category": "Trailing Spaces"
}
]
},
"activationEvents": [
"onCommand:trailing-spaces.deleteTrailingSpaces",
"onCommand:trailing-spaces.deleteTrailingSpacesModifiedLinesOnly",
"onCommand:trailing-spaces.highlightTrailingSpaces",
"onStartupFinished"
],
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint && mkdirp out/test/suite/files && ncp src/test/suite/files out/test/suite/files ",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.68.0",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/diff": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"eslint": "^8.18.0",
"glob": "^8.0.3",
"ncp": "^2.0.0",
"mkdirp": "^1.0.4",
"mocha": "^10.0.0",
"typescript": "^4.7.4",
"@vscode/test-electron": "^2.1.5"
},
"dependencies": {
"diff": "^5.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/shardulm94/vscode-trailingspaces.git"
},
"keywords": [
"trailing",
"spaces",
"delete",
"highlight"
],
"author": "Shardul Mahadik",
"license": "MIT",
"bugs": {
"url": "https://github.com/shardulm94/vscode-trailingspaces/issues"
},
"homepage": "https://github.com/shardulm94/vscode-trailingspaces#readme",
"__metadata": {
"id": "6ad45f5a-09ec-44e5-b363-867ddc1ec674",
"publisherDisplayName": "Shardul Mahadik",
"publisherId": "cdbc316c-f1de-43c4-9a22-4e211e955680",
"isPreReleaseVersion": false
}
}