Skip to content

Change tracking of file types to language kinds #4621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VeryMilkyJoe
Copy link
Collaborator

@VeryMilkyJoe VeryMilkyJoe commented Jun 8, 2025

The plugin descriptor now tracks the language kinds it is responsible for instead of the file endings.
This will allow files without ".hs" or other relevant file endings to still be handled by HLS if their language kind is set properly.

We get the language kinds of any file from the VFS.

Currently we are using a source repository to be able to use the lsp changes needed, but once lsp is released this can be removed.

Closes #3567

image

@VeryMilkyJoe VeryMilkyJoe force-pushed the track-language-id branch 2 times, most recently from 9af92cf to 7d87e3f Compare June 8, 2025 15:05
@VeryMilkyJoe VeryMilkyJoe requested a review from soulomoon as a code owner June 8, 2025 15:05
@VeryMilkyJoe VeryMilkyJoe force-pushed the track-language-id branch 4 times, most recently from ea2f6eb to 252e67f Compare June 9, 2025 13:51
The plugin descriptor now tracks the language kinds it is responsible
for instead of the file endings.

We get the language kinds of any file from the VFS.

Currently we are using a source repository to be able to use the lsp
changes needed, but once lsp is released this can be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HLS not working for file without .hs extension
1 participant