Skip to content

hie-server running but not sending any rpc messages to vscode. #118

Closed
@SamDM

Description

@SamDM

I have a fresh install of hie using the Arch package on AUR (https://aur.archlinux.org/packages/haskell-ide-engine-git/).

When opening a haskell file, the extension does not seem to do anything. No code completion, no linting, nothing (except for syntax highlighting). Enabling the logs, I see that the hie server is running. The log file reflects the actions I perform in vscode such as moving the cursor, etc.

When I look at the server dump, nothing is sent back to vscode. In neither of the log files is there any indication that something is going wrong. It is only by logging the output using --vomit that something pops up:

hie-8.4.3: user error (Failed to find requested hint files:
  /usr/bin/data/hlint.yaml
)

Do I need a global installation of hlint to make this work? Why? Shoulnd't it use hlint from stack?

Attached are the 1) my custom hie wrapper to enable the logs, 2) the log, 3) the server dump and 4) the stderr from hie containing information from --vomit.

hie-vscode.sh.txt
hie.log
hie-wire.log
hie-stderr.log

If I can do anything to help or if any additional info is required, let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions