-
-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
HackathonThis issue is suitable for hackathon sessionsThis issue is suitable for hackathon sessionscomponent: hls-cabal-pluginIssues related to the hls-cabal-pluginIssues related to the hls-cabal-pluginlevel: easyThe issue is suited for beginnersThe issue is suited for beginnerstype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
If the project is a stack project, there might be a package.yaml
file. Adding a dependency to the generated .cabal file is a bad idea, as it will lead to annoying behaviour: Stack will no longer re-generate the .cabal file, so changes to package.yaml
are not propagated to the .cabal
file any more.
solution:
When looking for the .cabal
file in the filesystem, check there is no package.yaml
file next to it.
Metadata
Metadata
Assignees
Labels
HackathonThis issue is suitable for hackathon sessionsThis issue is suitable for hackathon sessionscomponent: hls-cabal-pluginIssues related to the hls-cabal-pluginIssues related to the hls-cabal-pluginlevel: easyThe issue is suited for beginnersThe issue is suited for beginnerstype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..