haskell / haskell/haskell-language-server

Spurious errors from extra-project Haskell files.

Open
#1,703 9 comments 1 reaction 0 assignees View on GitHub
component: hie-bios status: needs info type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

I have some Haskell files in my project directory outside of the traditional `./src/`, `./app/` and `./test/` directories. Examples are `./dev-tools.hs` where I keep some things I like to use in GHCi, and `./.cache/hie-bios/.../Paths_mwb.hs`.

Haskell plugin reports errors in these files and tries to set up a multi-cradle project, but I would prefer if it didn't since they are not part of my actual project source.

Is there a way to tell the plugin to only trigger for Haskell files in specific directories?

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.