|
76 | 76 | "scope": "resource",
|
77 | 77 | "type": "number",
|
78 | 78 | "default": 100,
|
79 |
| - "description": "Controls the maximum number of problems produced by the server." |
| 79 | + "description": "Controls the maximum number of problems produced by the server" |
80 | 80 | },
|
81 | 81 | "languageServerHaskell.diagnosticsOnChange": {
|
82 | 82 | "scope": "resource",
|
|
114 | 114 | "none"
|
115 | 115 | ],
|
116 | 116 | "default": "brittany",
|
117 |
| - "description": "The tool to use for formatting requests." |
118 |
| - }, |
119 |
| - "languageServerHaskell.showTypeForSelection.onHover": { |
120 |
| - "scope": "resource", |
121 |
| - "type": "boolean", |
122 |
| - "default": true, |
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." |
124 |
| - }, |
125 |
| - "languageServerHaskell.showTypeForSelection.command.location": { |
126 |
| - "scope": "resource", |
127 |
| - "type": "string", |
128 |
| - "enum": [ |
129 |
| - "dropdown", |
130 |
| - "channel" |
131 |
| - ], |
132 |
| - "default": "dropdown", |
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" |
| 117 | + "description": "The tool to use for formatting requests" |
134 | 118 | },
|
135 | 119 | "languageServerHaskell.trace.server": {
|
136 | 120 | "scope": "resource",
|
|
140 | 124 | "messages"
|
141 | 125 | ],
|
142 | 126 | "default": "off",
|
143 |
| - "description": "Traces the communication between VSCode and the languageServerHaskell service." |
| 127 | + "description": "Traces the communication between VS Code and the language server." |
144 | 128 | },
|
145 | 129 | "languageServerHaskell.logFile": {
|
146 | 130 | "scope": "resource",
|
|
157 | 141 | "ghcide"
|
158 | 142 | ],
|
159 | 143 | "default": "haskell-ide-engine",
|
160 |
| - "description": "Which haskell language server to use." |
| 144 | + "description": "Which language server to use." |
161 | 145 | },
|
162 | 146 | "languageServerHaskell.hieExecutablePath": {
|
163 | 147 | "scope": "resource",
|
164 | 148 | "type": "string",
|
165 | 149 | "default": "",
|
166 |
| - "description": "Set the path to your hie executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
| 150 | + "description": "Set the path to your language server executable, if it's not already on your $PATH. Works with ~, ${HOME} and ${workspaceFolder}." |
167 | 151 | },
|
168 | 152 | "languageServerHaskell.enableHIE": {
|
169 | 153 | "scope": "resource",
|
170 | 154 | "type": "boolean",
|
171 | 155 | "default": true,
|
172 |
| - "description": "Enable/disable HIE (useful for multi-root workspaces)." |
| 156 | + "description": "Enable/disable the language server (useful for multi-root workspaces)." |
173 | 157 | }
|
174 | 158 | }
|
175 | 159 | },
|
176 | 160 | "commands": [
|
177 |
| - { |
178 |
| - "command": "hie.commands.demoteDef", |
179 |
| - "title": "Haskell: Demote Definition", |
180 |
| - "description": "Move a definition one level down" |
181 |
| - }, |
182 |
| - { |
183 |
| - "command": "hie.commands.liftOneLevel", |
184 |
| - "title": "Haskell: Lift One Level", |
185 |
| - "description": "Move definition one level up from where it is now" |
186 |
| - }, |
187 |
| - { |
188 |
| - "command": "hie.commands.liftTopLevel", |
189 |
| - "title": "Haskell: Lift to Top Level", |
190 |
| - "description": "Move a definition to the top level" |
191 |
| - }, |
192 |
| - { |
193 |
| - "command": "hie.commands.genApplicative", |
194 |
| - "title": "Haskell: Generalize Applicative", |
195 |
| - "description": "Generalize a monadic function to use applicative" |
196 |
| - }, |
197 |
| - { |
198 |
| - "command": "hie.commands.deleteDef", |
199 |
| - "title": "Haskell: Delete Definition", |
200 |
| - "description": "Deletes a definition" |
201 |
| - }, |
202 |
| - { |
203 |
| - "command": "hie.commands.insertType", |
204 |
| - "title": "Haskell: Insert type", |
205 |
| - "description": "Insert type for the expression" |
206 |
| - }, |
207 |
| - { |
208 |
| - "command": "hie.commands.showType", |
209 |
| - "title": "Haskell: Show type", |
210 |
| - "description": "Show type for the expression" |
211 |
| - }, |
212 |
| - { |
213 |
| - "command": "hie.commands.caseSplit", |
214 |
| - "title": "Haskell: Split case", |
215 |
| - "description": "Generate pattern matches for the identifier under the cursor" |
216 |
| - }, |
217 | 161 | {
|
218 | 162 | "command": "hie.commands.importIdentifier",
|
219 | 163 | "title": "Haskell: Import identifier",
|
|
224 | 168 | "title": "Haskell: Restart Haskell LSP server",
|
225 | 169 | "description": "Restart the Haskell LSP server"
|
226 | 170 | }
|
227 |
| - ], |
228 |
| - "keybindings": [ |
229 |
| - { |
230 |
| - "command": "hie.commands.showType", |
231 |
| - "key": "ctrl+alt+t", |
232 |
| - "mac": "cmd+alt+t", |
233 |
| - "when": "editorTextFocus" |
234 |
| - } |
235 |
| - ], |
236 |
| - "menus": { |
237 |
| - "editor/title": [ |
238 |
| - { |
239 |
| - "when": "resourceLangId == haskell", |
240 |
| - "command": "hie.commands.demoteDef" |
241 |
| - } |
242 |
| - ], |
243 |
| - "editor/context": [ |
244 |
| - { |
245 |
| - "when": "resourceLangId == haskell", |
246 |
| - "command": "hie.commands.demoteDef", |
247 |
| - "group": "HaRe@1" |
248 |
| - } |
249 |
| - ] |
250 |
| - } |
| 171 | + ] |
251 | 172 | },
|
252 | 173 | "scripts": {
|
253 | 174 | "vscode:prepublish": "webpack --mode production",
|
|
0 commit comments