haskell / haskell/vscode-haskell
Opening a new file spawns a new HLS instance
Open
type: bug
- Dominant language
- TypeScript
- Stars
- 597
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
In VSCode, when opening a new file via `ctrl+n`, vscode-haskell spawns a new HLS instance for the file that hasn't been persisted to the file system yet and is only available in the VFS.
The only way to fix that is to save the file to disk and then restart the extension.
Contributor guide
Research direction
Reproduce the issue in VS Code by opening a new file with ctrl+n, then trace how the extension handles unsaved VFS documents and HLS instance creation. Done means opening an unsaved file reuses the appropriate HLS instance without requiring the file to be saved or the extension restarted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100