File tree 2 files changed +12
-2
lines changed
plugins/hls-cabal-plugin/src/Ide/Plugin 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,14 @@ Code action kind: `quickfix`
316
316
317
317
Correct common misspelling of SPDX Licenses such as ` BSD-3-Clause ` .
318
318
319
+ ### Add dependency to ` cabal ` file
320
+
321
+ Provided by: ` hls-cabal-plugin `
322
+
323
+ Code action kind: ` quickfix `
324
+
325
+ Add a missing package dependency to your ` .cabal ` file.
326
+
319
327
## Code lenses
320
328
321
329
### Add type signature
Original file line number Diff line number Diff line change @@ -254,8 +254,10 @@ cabalRules recorder plId = do
254
254
-- user did not do anything wrong. Instead we cast it to a warning
255
255
regex = " Unsupported cabal-version [0-9]+.[0-9]*"
256
256
unsupportedCabalHelpText = unlines
257
- [ " The used cabal version is not fully supported by HLS. This means that some functionality might not work as expected."
258
- , " If you face any issues try to downgrade to a supported cabal version."
257
+ [ " The used `cabal-version` is not fully supported by this `HLS` binary."
258
+ , " Either the `cabal-version` is unknown, or too new for this executable."
259
+ , " This means that some functionality might not work as expected."
260
+ , " If you face any issues, try downgrading to a supported `cabal-version` or upgrading `HLS` if possible."
259
261
, " "
260
262
, " Supported versions are: " <>
261
263
List. intercalate " , "
You can’t perform that action at this time.
0 commit comments