haskell / haskell/haskell-language-server
CodeLens tries to rename module name to match the filename when the file is listed in the "main-is" section of the cabal file
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 11
Description

The module name of the file that "main-is" is pointing to [should](https://cabal.readthedocs.io/en/3.4/cabal-package.html#pkg-field-executable-main-is) always be `Main`.
### Your environment
Output of `haskell-language-server --probe-tools` or `haskell-language-server-wrapper --probe-tools`:
```sh
haskell-language-server version: 0.6.0.0 (GHC: 8.10.2) (PATH: /nix/store/aa763nk6yn1hdjqcwj9l7slkfl52i61d-haskell-language-server-0.6.0.0/bin/haskell-language-server-wrapper)
Tool versions found on the $PATH
cabal: 3.2.0.0
stack: Not found
ghc: 8.10.2
```
VSCode
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.