-
-
Notifications
You must be signed in to change notification settings - Fork 406
Commit c93ce2a
committed
Add Code Action for adding a module to the cabal file
For diagnostics complaining about the current module being unknown,
we now offer code actions to add the module to any possible field in
the responsible cabal file.
Additionally, refactor the cabal-plugin into smaller modules and
refactor the add-package feature to have some shared functions to be
used for both add-package and add-module.1 parent 8cac5fb commit c93ce2a
File tree
20 files changed
+1345
-691
lines changed- plugins/hls-cabal-plugin
- src/Ide/Plugin
- Cabal
- CabalAdd
- test
- testdata/cabal-add-module/library
20 files changed
+1345
-691
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | - | ||
11 | + | ||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
Lines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
254 | 254 |
| |
255 | 255 |
| |
256 | 256 |
| |
257 | + | ||
258 | + | ||
257 | 259 |
| |
258 | - | ||
260 | + | ||
261 | + | ||
262 | + | ||
263 | + | ||
259 | 264 |
| |
260 | 265 |
| |
261 | 266 |
| |
| |||
276 | 281 |
| |
277 | 282 |
| |
278 | 283 |
| |
284 | + | ||
279 | 285 |
| |
280 | 286 |
| |
281 | 287 |
| |
282 | 288 |
| |
283 | 289 |
| |
284 | 290 |
| |
285 | - | ||
286 | - | ||
291 | + | ||
287 | 292 |
| |
288 | 293 |
| |
289 | 294 |
| |
| |||
315 | 320 |
| |
316 | 321 |
| |
317 | 322 |
| |
318 | - | ||
319 | 323 |
| |
320 | 324 |
| |
321 | 325 |
| |
|
Lines changed: 164 additions & 325 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 326 deletions
This file was deleted.
0 commit comments