haskell-language-server icon indicating copy to clipboard operation
haskell-language-server copied to clipboard

Language server support for cabal.project files

Open VeryMilkyJoe opened this issue 11 months ago • 2 comments

It would be nice to have language server support for cabal.project files in the same manner as we provide for .cabal files. My idea is to create a hls-cabal-project-plugin which should function similarly to the hls-cabal-plugin.

Some features I have in mind:

  • [ ] completions of
    • [ ] keywords
    • [ ] filepaths
    • [ ] enum values
  • [ ] diagnostics
  • [ ] syntax highlighting

VeryMilkyJoe avatar Mar 17 '25 11:03 VeryMilkyJoe

Hello! I am interested in working on this issue for GSoC this summer. As I research for my proposal, do you have any suggestions for resources or related issues that might be helpful? I know, for example, that hls-cabal-plugin can provide a useful guide. Thank you!

NicoSantamaria avatar Mar 24 '25 23:03 NicoSantamaria

Hi, that's great to hear! I can recommended issues #4526 and #4479 (which I have also recommended to some other interested students), trying to work on one of these could be a good introduction to the cabal plugin codebase.

VeryMilkyJoe avatar Mar 25 '25 12:03 VeryMilkyJoe