haskell / haskell/haskell-language-server

Support Alex ".x" files

Open
#4,820 3 comments 1 reaction 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

## Is your enhancement request related to a problem? Please describe.

Currently, HLS fails when run on `.x` files:
```
2026-02-01T17:13:19-08:00 ERROR [project::lsp_store] Error handling response for request GetCodeLens: Code Lens via hls failed: No plugins are available to handle this SMethod_TextDocumentCodeLens request.
Plugins installed for this method, but not available to handle this request are:
eval does not support .x filetypes).
ghcide-type-lenses does not support .x filetypes).
importLens does not support .x filetypes).
class does not support .x filetypes).
moduleName does not support .x filetypes).
```

Unsure if this is a duplicate of #689, #4409

## Describe the solution you'd like

Right now, I just want HLS support on the Haskell part of the file.

## Describe alternatives you've considered

## Additional context

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.