Skip to content

Support .sbt files in vscode ide / language server #4716

Closed
@fahrradflucht

Description

@fahrradflucht

Currently when opening build.sbt or .sbt files in project vscode gives squiggly red lines all over the place since it detects the file as scala but doesn't now how to handle it (the lsp doesn't find a configuration).

I'm not sure if it is feasible to generate a configuration for those files with the current language servers capabilities since they also have some differences to normal files in that they neither contain object nor class definitions.

In the mean time it would maybe be a first step to just discard language server errors in .sbt files.

Edit:
I just saw that 2ce96ae does what I proposed as an intermediary fix. - @smarter would you mind releasing this? It doesn't look like vscode-dotty follows a particular release schedule.

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

    Issue actions