|
8 | 8 | "engines": {
|
9 | 9 | "vscode": "^1.22.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 |
| - "Languages", |
27 |
| - "Formatters", |
28 |
| - "Linters", |
29 |
| - "Other" |
30 |
| - ], |
| 20 | + "categories": ["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 |
| - ], |
| 26 | + "activationEvents": ["onLanguage:haskell", "onLanguage:literate haskell"], |
40 | 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": {
|
|
75 | 52 | "scope": "resource",
|
76 | 53 | "type": "string",
|
77 | 54 | "default": "",
|
78 |
| - "description": "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
| 55 | + "description": |
| 56 | + "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
79 | 57 | },
|
80 | 58 | "languageServerHaskell.useHieWrapper": {
|
81 | 59 | "scope": "resource",
|
82 | 60 | "type": "boolean",
|
83 | 61 | "default": false,
|
84 |
| - "description": "Try to automatically select the correct hie version, based on your projects GHC version. NOTE: Build hie using the Makefile to get all versions. This will take precedence over hieExecutablePath." |
| 62 | + "description": |
| 63 | + "Try to automatically select the correct hie version, based on your projects GHC version. NOTE: Build hie using the Makefile to get all versions. This will take precedence over hieExecutablePath." |
85 | 64 | },
|
86 | 65 | "languageServerHaskell.useCustomHieWrapper": {
|
87 | 66 | "scope": "resource",
|
88 | 67 | "type": "boolean",
|
89 | 68 | "default": false,
|
90 |
| - "description": "Use your own custom wrapper for hie (remember to specify the path!). This will take precedence over useHieWrapper and hieExecutablePath." |
| 69 | + "description": |
| 70 | + "Use your own custom wrapper for hie (remember to specify the path!). This will take precedence over useHieWrapper and hieExecutablePath." |
91 | 71 | },
|
92 | 72 | "languageServerHaskell.useCustomHieWrapperPath": {
|
93 | 73 | "scope": "resource",
|
94 | 74 | "type": "string",
|
95 | 75 | "default": "",
|
96 |
| - "description": "Specify the full path to your own custom hie wrapper (e.g. ${HOME}/.hie-wrapper.sh). Works with ~, ${HOME} and ${workspaceFolder}." |
| 76 | + "description": |
| 77 | + "Specify the full path to your own custom hie wrapper (e.g. ${HOME}/.hie-wrapper.sh). Works with ~, ${HOME} and ${workspaceFolder}." |
97 | 78 | },
|
98 | 79 | "languageServerHaskell.hlintOn": {
|
99 | 80 | "scope": "resource",
|
|
105 | 86 | "scope": "resource",
|
106 | 87 | "type": "boolean",
|
107 | 88 | "default": true,
|
108 |
| - "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." |
| 89 | + "description": |
| 90 | + "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." |
109 | 91 | },
|
110 | 92 | "languageServerHaskell.showTypeForSelection.command.location": {
|
111 | 93 | "scope": "resource",
|
112 | 94 | "type": "string",
|
113 |
| - "enum": [ |
114 |
| - "dropdown", |
115 |
| - "channel" |
116 |
| - ], |
| 95 | + "enum": ["dropdown", "channel"], |
117 | 96 | "default": "dropdown",
|
118 |
| - "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" |
| 97 | + "description": |
| 98 | + "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" |
119 | 99 | },
|
120 | 100 | "languageServerHaskell.trace.server": {
|
121 | 101 | "scope": "resource",
|
122 | 102 | "type": "string",
|
123 |
| - "enum": [ |
124 |
| - "off", |
125 |
| - "messages", |
126 |
| - "verbose" |
127 |
| - ], |
| 103 | + "enum": ["off", "messages", "verbose"], |
128 | 104 | "default": "off",
|
129 | 105 | "description": "Traces the communication between VSCode and the languageServerHaskell service."
|
130 | 106 | },
|
|
206 | 182 | "tslint": "tslint -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
207 | 183 | "tslint-fix": "tslint --fix -p tsconfig.json -c tslint.json --format stylish 'src/**/*.ts'",
|
208 | 184 | "precommit": "pretty-quick --staged",
|
209 |
| - "push-tag": "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
| 185 | + "push-tag": |
| 186 | + "git tag -a $npm_package_version -m \"Version $npm_package_version\" && git push origin $npm_package_version" |
210 | 187 | },
|
211 | 188 | "devDependencies": {
|
212 | 189 | "@types/mocha": "^2.2.46",
|
|
218 | 195 | "typescript": "^2.8.1",
|
219 | 196 | "vscode": "^1.1.14"
|
220 | 197 | },
|
221 |
| - "extensionDependencies": [ |
222 |
| - "justusadam.language-haskell" |
223 |
| - ], |
| 198 | + "extensionDependencies": ["justusadam.language-haskell"], |
224 | 199 | "dependencies": {
|
225 | 200 | "vscode-languageclient": "^4.1.3"
|
226 | 201 | }
|
|
0 commit comments