Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Prevent constant popups (certainly in Visual Studio Code) related to "main" in multiple files #850

@davidainslie

Description

@davidainslie

In VS Code, there is an annoying popup (occurring in bottom right) indicating that "main" is declared in multiple files.
Having downloaded the "haskell-ide-engine" source, I resolved this in:
haskell-ide-engine/src/Haskell/ide/Engine/Transport/LspStdio.hs

I changed:

reactorSend $ NotShowMessage $
  fmServerShowMessageNotification J.MtError

to

reactorSend $ NotLogMessage $
  fmServerLogMessageNotification J.MtWarning

It would be nice if I could submit a PR or for anyone else to do this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions