Skip to content

Language server support for cabal.project files #4524

Open
@VeryMilkyJoe

Description

@VeryMilkyJoe
Collaborator

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

Activity

NicoSantamaria

NicoSantamaria commented on Mar 24, 2025

@NicoSantamaria

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!

VeryMilkyJoe

VeryMilkyJoe commented on Mar 25, 2025

@VeryMilkyJoe
CollaboratorAuthor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @fendor@VeryMilkyJoe@NicoSantamaria

        Issue actions

          Language server support for cabal.project files · Issue #4524 · haskell/haskell-language-server