|
8 | 8 | "engines": {
|
9 | 9 | "vscode": "^1.33.0"
|
10 | 10 | },
|
11 |
| - "keywords": [ |
12 |
| - "language", |
13 |
| - "haskell", |
14 |
| - "lsp", |
15 |
| - "multi-root ready" |
16 |
| - ], |
| 11 | + "keywords": ["language", "haskell", "lsp", "multi-root ready"], |
17 | 12 | "homepage": "https://github.com/alanz/vscode-hie-server",
|
18 | 13 | "repository": {
|
19 | 14 | "type": "git",
|
|
22 | 17 | "bugs": {
|
23 | 18 | "url": "https://github.com/alanz/vscode-hie-server/issues"
|
24 | 19 | },
|
25 |
| - "categories": [ |
26 |
| - "Programming Languages", |
27 |
| - "Formatters", |
28 |
| - "Linters", |
29 |
| - "Other" |
30 |
| - ], |
| 20 | + "categories": ["Programming Languages", "Formatters", "Linters", "Other"], |
31 | 21 | "icon": "images/HIE_logo_128.png",
|
32 | 22 | "galleryBanner": {
|
33 | 23 | "color": "#22172A",
|
34 | 24 | "theme": "dark"
|
35 | 25 | },
|
36 |
| - "activationEvents": [ |
37 |
| - "onLanguage:haskell", |
38 |
| - "onLanguage:literate haskell" |
39 |
| - ], |
40 |
| - "main": "./dist/extension", |
| 26 | + "activationEvents": ["onLanguage:haskell", "onLanguage:literate haskell"], |
| 27 | + "main": "./out/src/extension", |
41 | 28 | "contributes": {
|
42 | 29 | "languages": [
|
43 | 30 | {
|
44 | 31 | "id": "haskell",
|
45 |
| - "aliases": [ |
46 |
| - "Haskell", |
47 |
| - "haskell" |
48 |
| - ], |
49 |
| - "extensions": [ |
50 |
| - ".hs" |
51 |
| - ] |
| 32 | + "aliases": ["Haskell", "haskell"], |
| 33 | + "extensions": [".hs"] |
52 | 34 | },
|
53 | 35 | {
|
54 | 36 | "id": "literate haskell",
|
55 |
| - "aliases": [ |
56 |
| - "Literate Haskell", |
57 |
| - "literate Haskell" |
58 |
| - ], |
59 |
| - "extensions": [ |
60 |
| - ".lhs" |
61 |
| - ] |
| 37 | + "aliases": ["Literate Haskell", "literate Haskell"], |
| 38 | + "extensions": [".lhs"] |
62 | 39 | }
|
63 | 40 | ],
|
64 | 41 | "configuration": {
|
|
82 | 59 | "scope": "resource",
|
83 | 60 | "type": "boolean",
|
84 | 61 | "default": true,
|
85 |
| - "description": "Compute diagnostics continuously as you type. Turn off to only generate diagnostics on file save." |
| 62 | + "description": |
| 63 | + "Compute diagnostics continuously as you type. Turn off to only generate diagnostics on file save." |
86 | 64 | },
|
87 | 65 | "languageServerHaskell.liquidOn": {
|
88 | 66 | "scope": "resource",
|
|
106 | 84 | "languageServerHaskell.formattingProvider": {
|
107 | 85 | "scope": "resource",
|
108 | 86 | "type": "string",
|
109 |
| - "enum": [ |
110 |
| - "brittany", |
111 |
| - "floskell", |
112 |
| - "none" |
113 |
| - ], |
| 87 | + "enum": ["brittany", "floskell", "none"], |
114 | 88 | "default": "brittany",
|
115 | 89 | "description": "The tool to use for formatting requests."
|
116 | 90 | },
|
117 | 91 | "languageServerHaskell.hieExecutablePath": {
|
118 | 92 | "scope": "resource",
|
119 | 93 | "type": "string",
|
120 | 94 | "default": "",
|
121 |
| - "description": "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
| 95 | + "description": |
| 96 | + "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
122 | 97 | },
|
123 | 98 | "languageServerHaskell.useCustomHieWrapper": {
|
124 | 99 | "scope": "resource",
|
125 | 100 | "type": "boolean",
|
126 | 101 | "default": false,
|
127 |
| - "description": "Use your own custom wrapper for hie (remember to specify the path!). This will take precedence over useHieWrapper and hieExecutablePath." |
| 102 | + "description": |
| 103 | + "Use your own custom wrapper for hie (remember to specify the path!). This will take precedence over useHieWrapper and hieExecutablePath." |
128 | 104 | },
|
129 | 105 | "languageServerHaskell.useCustomHieWrapperPath": {
|
130 | 106 | "scope": "resource",
|
131 | 107 | "type": "string",
|
132 | 108 | "default": "",
|
133 |
| - "description": "Specify the full path to your own custom hie wrapper (e.g. ${HOME}/.hie-wrapper.sh). Works with ~, ${HOME} and ${workspaceFolder}." |
| 109 | + "description": |
| 110 | + "Specify the full path to your own custom hie wrapper (e.g. ${HOME}/.hie-wrapper.sh). Works with ~, ${HOME} and ${workspaceFolder}." |
134 | 111 | },
|
135 | 112 | "languageServerHaskell.showTypeForSelection.onHover": {
|
136 | 113 | "scope": "resource",
|
137 | 114 | "type": "boolean",
|
138 | 115 | "default": true,
|
139 |
| - "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." |
| 116 | + "description": |
| 117 | + "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." |
140 | 118 | },
|
141 | 119 | "languageServerHaskell.showTypeForSelection.command.location": {
|
142 | 120 | "scope": "resource",
|
143 | 121 | "type": "string",
|
144 |
| - "enum": [ |
145 |
| - "dropdown", |
146 |
| - "channel" |
147 |
| - ], |
| 122 | + "enum": ["dropdown", "channel"], |
148 | 123 | "default": "dropdown",
|
149 |
| - "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" |
| 124 | + "description": |
| 125 | + "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" |
150 | 126 | },
|
151 | 127 | "languageServerHaskell.trace.server": {
|
152 | 128 | "scope": "resource",
|
153 | 129 | "type": "string",
|
154 |
| - "enum": [ |
155 |
| - "off", |
156 |
| - "messages", |
157 |
| - "verbose" |
158 |
| - ], |
| 130 | + "enum": ["off", "messages", "verbose"], |
159 | 131 | "default": "off",
|
160 | 132 | "description": "Traces the communication between VSCode and the languageServerHaskell service."
|
161 | 133 | },
|
|
247 | 219 | "tslint": "tslint -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
248 | 220 | "tslint-fix": "tslint --fix -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
249 | 221 | "precommit": "pretty-quick --staged",
|
250 |
| - "push-tag": "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
| 222 | + "push-tag": |
| 223 | + "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
251 | 224 | },
|
252 | 225 | "devDependencies": {
|
253 | 226 | "@types/cheerio": "^0.22.13",
|
|
268 | 241 | "webpack": "^4.38.0",
|
269 | 242 | "webpack-cli": "^3.3.6"
|
270 | 243 | },
|
271 |
| - "extensionDependencies": [ |
272 |
| - "justusadam.language-haskell" |
273 |
| - ], |
| 244 | + "extensionDependencies": ["justusadam.language-haskell"], |
274 | 245 | "dependencies": {
|
275 | 246 | "cheerio": "^1.0.0-rc.3",
|
276 | 247 | "extend": ">=3.0.2",
|
|
0 commit comments