|
8 | 8 | "engines": {
|
9 | 9 | "vscode": "^1.39.0"
|
10 | 10 | },
|
11 |
| - "keywords": ["language", "haskell", "lsp", "multi-root ready"], |
| 11 | + "keywords": [ |
| 12 | + "language", |
| 13 | + "haskell", |
| 14 | + "lsp", |
| 15 | + "multi-root ready" |
| 16 | + ], |
12 | 17 | "homepage": "https://github.com/alanz/vscode-hie-server",
|
13 | 18 | "repository": {
|
14 | 19 | "type": "git",
|
|
17 | 22 | "bugs": {
|
18 | 23 | "url": "https://github.com/alanz/vscode-hie-server/issues"
|
19 | 24 | },
|
20 |
| - "categories": ["Programming Languages", "Formatters", "Linters", "Other"], |
| 25 | + "categories": [ |
| 26 | + "Programming Languages", |
| 27 | + "Formatters", |
| 28 | + "Linters", |
| 29 | + "Other" |
| 30 | + ], |
21 | 31 | "icon": "images/HIE_logo_128.png",
|
22 | 32 | "galleryBanner": {
|
23 | 33 | "color": "#22172A",
|
24 | 34 | "theme": "dark"
|
25 | 35 | },
|
26 |
| - "activationEvents": ["onLanguage:haskell", "onLanguage:literate haskell"], |
| 36 | + "activationEvents": [ |
| 37 | + "onLanguage:haskell", |
| 38 | + "onLanguage:literate haskell" |
| 39 | + ], |
27 | 40 | "main": "./dist/extension",
|
28 | 41 | "contributes": {
|
29 | 42 | "languages": [
|
30 | 43 | {
|
31 | 44 | "id": "haskell",
|
32 |
| - "aliases": ["Haskell", "haskell"], |
33 |
| - "extensions": [".hs"] |
| 45 | + "aliases": [ |
| 46 | + "Haskell", |
| 47 | + "haskell" |
| 48 | + ], |
| 49 | + "extensions": [ |
| 50 | + ".hs" |
| 51 | + ] |
34 | 52 | },
|
35 | 53 | {
|
36 | 54 | "id": "literate haskell",
|
37 |
| - "aliases": ["Literate Haskell", "literate Haskell"], |
38 |
| - "extensions": [".lhs"] |
| 55 | + "aliases": [ |
| 56 | + "Literate Haskell", |
| 57 | + "literate Haskell" |
| 58 | + ], |
| 59 | + "extensions": [ |
| 60 | + ".lhs" |
| 61 | + ] |
39 | 62 | }
|
40 | 63 | ],
|
41 | 64 | "configuration": {
|
|
59 | 82 | "scope": "resource",
|
60 | 83 | "type": "boolean",
|
61 | 84 | "default": true,
|
62 |
| - "description": |
63 |
| - "Compute diagnostics continuously as you type. Turn off to only generate diagnostics on file save." |
| 85 | + "description": "Compute diagnostics continuously as you type. Turn off to only generate diagnostics on file save." |
64 | 86 | },
|
65 | 87 | "languageServerHaskell.liquidOn": {
|
66 | 88 | "scope": "resource",
|
|
84 | 106 | "languageServerHaskell.formattingProvider": {
|
85 | 107 | "scope": "resource",
|
86 | 108 | "type": "string",
|
87 |
| - "enum": ["brittany", "floskell", "ormolu", "stylish-haskell", "none"], |
| 109 | + "enum": [ |
| 110 | + "brittany", |
| 111 | + "floskell", |
| 112 | + "ormolu", |
| 113 | + "stylish-haskell", |
| 114 | + "none" |
| 115 | + ], |
88 | 116 | "default": "brittany",
|
89 | 117 | "description": "The tool to use for formatting requests."
|
90 | 118 | },
|
91 | 119 | "languageServerHaskell.showTypeForSelection.onHover": {
|
92 | 120 | "scope": "resource",
|
93 | 121 | "type": "boolean",
|
94 | 122 | "default": true,
|
95 |
| - "description": |
96 |
| - "If true, when an expression is selected, the hover tooltip will attempt to display the type of the entire expression - rather than just the term under the cursor." |
| 123 | + "description": "If true, when an expression is selected, the hover tooltip will attempt to display the type of the entire expression - rather than just the term under the cursor." |
97 | 124 | },
|
98 | 125 | "languageServerHaskell.showTypeForSelection.command.location": {
|
99 | 126 | "scope": "resource",
|
100 | 127 | "type": "string",
|
101 |
| - "enum": ["dropdown", "channel"], |
| 128 | + "enum": [ |
| 129 | + "dropdown", |
| 130 | + "channel" |
| 131 | + ], |
102 | 132 | "default": "dropdown",
|
103 |
| - "description": |
104 |
| - "Determines where the type information for selected text will be shown when the `showType` command is triggered (distinct from automatically showing this information when hover is triggered).\ndropdown: in a dropdown\nchannel: will be revealed in an output channel" |
| 133 | + "description": "Determines where the type information for selected text will be shown when the `showType` command is triggered (distinct from automatically showing this information when hover is triggered).\ndropdown: in a dropdown\nchannel: will be revealed in an output channel" |
105 | 134 | },
|
106 | 135 | "languageServerHaskell.trace.server": {
|
107 | 136 | "scope": "resource",
|
108 | 137 | "type": "string",
|
109 |
| - "enum": ["off", "messages"], |
| 138 | + "enum": [ |
| 139 | + "off", |
| 140 | + "messages" |
| 141 | + ], |
110 | 142 | "default": "off",
|
111 | 143 | "description": "Traces the communication between VSCode and the languageServerHaskell service."
|
112 | 144 | },
|
|
119 | 151 | "languageServerHaskell.hieVariant": {
|
120 | 152 | "scope": "resource",
|
121 | 153 | "type": "string",
|
122 |
| - "enum": ["haskell-ide-engine", "haskell-language-server", "ghcide"], |
| 154 | + "enum": [ |
| 155 | + "haskell-ide-engine", |
| 156 | + "haskell-language-server", |
| 157 | + "ghcide" |
| 158 | + ], |
123 | 159 | "default": "haskell-ide-engine",
|
124 | 160 | "description": "Which haskell language server to use."
|
125 | 161 | },
|
126 | 162 | "languageServerHaskell.hieExecutablePath": {
|
127 | 163 | "scope": "resource",
|
128 | 164 | "type": "string",
|
129 | 165 | "default": "",
|
130 |
| - "description": |
131 |
| - "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
| 166 | + "description": "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
132 | 167 | },
|
133 | 168 | "languageServerHaskell.enableHIE": {
|
134 | 169 | "scope": "resource",
|
|
223 | 258 | "tslint": "tslint -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
224 | 259 | "tslint-fix": "tslint --fix -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
225 | 260 | "precommit": "pretty-quick --staged",
|
226 |
| - "push-tag": |
227 |
| - "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
| 261 | + "push-tag": "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
228 | 262 | },
|
229 | 263 | "devDependencies": {
|
230 | 264 | "@types/cheerio": "^0.22.17",
|
|
235 | 269 | "@types/node": "^8.10.59",
|
236 | 270 | "@types/request-promise-native": "^1.0.17",
|
237 | 271 | "husky": "^0.14.3",
|
238 |
| - "prettier": "1.11.1", |
| 272 | + "prettier": "^2.0.5", |
239 | 273 | "pretty-quick": "^1.11.1",
|
240 | 274 | "ts-loader": "^6.2.2",
|
241 | 275 | "tslint": "^5.20.1",
|
242 | 276 | "tslint-loader": "^3.5.4",
|
243 |
| - "typescript": "^3.8.3", |
| 277 | + "typescript": "^3.9.5", |
244 | 278 | "vscode": "^1.1.36",
|
245 | 279 | "webpack": "^4.42.1",
|
246 | 280 | "webpack-cli": "^3.3.11"
|
247 | 281 | },
|
248 |
| - "extensionDependencies": ["justusadam.language-haskell"], |
| 282 | + "extensionDependencies": [ |
| 283 | + "justusadam.language-haskell" |
| 284 | + ], |
249 | 285 | "dependencies": {
|
250 | 286 | "cheerio": "^1.0.0-rc.3",
|
251 | 287 | "extend": ">=3.0.2",
|
|
0 commit comments