haskell / haskell/vscode-haskell

Being offline can disable HLS

Open
#1,399 4 comments 0 reactions 0 assignees View on GitHub
status: needs triage
Dominant language
TypeScript
Stars
597
Forks
98
PR merge metrics
No merged PRs in 30d

Description

If HLS happens to start when you're offline, it (or ghcup ?) fails, and the Haskell extension gives up on it permanently, with Restart Haskell LSP Server having no effect. You have to do Reload Window to fix it.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure by starting HLS while offline, then compare the behavior of Restart Haskell LSP Server with Reload Window. Trace whether the Haskell extension or ghcup permanently gives up after the failed startup; done means restarting the Haskell LSP server recovers HLS without requiring Reload Window.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.