|
8 | 8 | "engines": {
|
9 | 9 | "vscode": "^1.33.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",
|
|
92 | 114 | "scope": "resource",
|
93 | 115 | "type": "string",
|
94 | 116 | "default": "",
|
95 |
| - "description": |
96 |
| - "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
| 117 | + "description": "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
97 | 118 | },
|
98 | 119 | "languageServerHaskell.useCustomHieWrapper": {
|
99 | 120 | "scope": "resource",
|
100 | 121 | "type": "boolean",
|
101 | 122 | "default": false,
|
102 |
| - "description": |
103 |
| - "Use your own custom wrapper for hie (remember to specify the path!). This will take precedence over useHieWrapper and hieExecutablePath." |
| 123 | + "description": "Use your own custom wrapper for hie (remember to specify the path!). This will take precedence over useHieWrapper and hieExecutablePath." |
104 | 124 | },
|
105 | 125 | "languageServerHaskell.useCustomHieWrapperPath": {
|
106 | 126 | "scope": "resource",
|
107 | 127 | "type": "string",
|
108 | 128 | "default": "",
|
109 |
| - "description": |
110 |
| - "Specify the full path to your own custom hie wrapper (e.g. ${HOME}/.hie-wrapper.sh). Works with ~, ${HOME} and ${workspaceFolder}." |
| 129 | + "description": "Specify the full path to your own custom hie wrapper (e.g. ${HOME}/.hie-wrapper.sh). Works with ~, ${HOME} and ${workspaceFolder}." |
111 | 130 | },
|
112 | 131 | "languageServerHaskell.noLspParam": {
|
113 | 132 | "scope": "resource",
|
|
119 | 138 | "scope": "resource",
|
120 | 139 | "type": "boolean",
|
121 | 140 | "default": true,
|
122 |
| - "description": |
123 |
| - "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." |
| 141 | + "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." |
124 | 142 | },
|
125 | 143 | "languageServerHaskell.showTypeForSelection.command.location": {
|
126 | 144 | "scope": "resource",
|
127 | 145 | "type": "string",
|
128 |
| - "enum": ["dropdown", "channel"], |
| 146 | + "enum": [ |
| 147 | + "dropdown", |
| 148 | + "channel" |
| 149 | + ], |
129 | 150 | "default": "dropdown",
|
130 |
| - "description": |
131 |
| - "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" |
| 151 | + "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" |
132 | 152 | },
|
133 | 153 | "languageServerHaskell.trace.server": {
|
134 | 154 | "scope": "resource",
|
135 | 155 | "type": "string",
|
136 |
| - "enum": ["off", "messages", "verbose"], |
| 156 | + "enum": [ |
| 157 | + "off", |
| 158 | + "messages", |
| 159 | + "verbose" |
| 160 | + ], |
137 | 161 | "default": "off",
|
138 | 162 | "description": "Traces the communication between VSCode and the languageServerHaskell service."
|
139 | 163 | },
|
|
196 | 220 | "command": "hie.commands.importIdentifier",
|
197 | 221 | "title": "Haskell: Import identifier",
|
198 | 222 | "description": "Imports a function or type based on a Hoogle search"
|
| 223 | + }, |
| 224 | + { |
| 225 | + "command": "hie.commands.restartHie", |
| 226 | + "title": "Haskell: Restart HIE", |
| 227 | + "description": "Restart the Hie LSP server" |
199 | 228 | }
|
200 | 229 | ],
|
201 | 230 | "keybindings": [
|
|
231 | 260 | "tslint": "tslint -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
232 | 261 | "tslint-fix": "tslint --fix -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
233 | 262 | "precommit": "pretty-quick --staged",
|
234 |
| - "push-tag": |
235 |
| - "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
| 263 | + "push-tag": "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
236 | 264 | },
|
237 | 265 | "devDependencies": {
|
238 | 266 | "@types/cheerio": "^0.22.13",
|
|
253 | 281 | "webpack": "^4.38.0",
|
254 | 282 | "webpack-cli": "^3.3.6"
|
255 | 283 | },
|
256 |
| - "extensionDependencies": ["justusadam.language-haskell"], |
| 284 | + "extensionDependencies": [ |
| 285 | + "justusadam.language-haskell" |
| 286 | + ], |
257 | 287 | "dependencies": {
|
258 | 288 | "cheerio": "^1.0.0-rc.3",
|
259 | 289 | "extend": ">=3.0.2",
|
|
0 commit comments