Duplicate hints, popups, and processes opening project + standalone files
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- haskell, typescript, vscode
- Ambito
- developer-experience, tooling
Direzione di ricerca
Inizia riproducendo gli hovers, i suggerimenti e i processi haskell-language-server duplicati con le versioni indicate di VS Code, dell’estensione, di GHC e di HLS. Poi esamina il ciclo di vita del processo HLS dell’estensione VS Code; il lavoro è completato quando un singolo processo server serve il workspace senza duplicare le funzionalità del linguaggio dopo ricaricamenti o riavvii.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I’ve got a weird issue where hints, popups, etc. get duplicated. See for example this screenshot, where I have not one, but two lovely hovers showing the type of the symbol I’ve moused over, as well as duplicated suggestions above the imports to list their imported symbols explicitly:
This was pretty baffling to me until I noticed that I’ve got not one, but two lovely haskell-language-server-wrapper & haskell-language-server-8.10.2 processes running 😄
I’ve only got the one workspace open (and nothing else using hls), and the process group indicates that they were indeed launched by VS Code:
If I kill one of them, it gets relaunched, but relaunching VS Code generally gets it back down to one. I’ve had mixed results with this, however, and with reloading the window; when I first noticed this, it was spawning double processes on reload/relaunch too, and eventually I had to close all the panes in one editor group, close the editor group, and relaunch VS Code before it resolved and I could open the editor group and keep going with only a single set of processes. But eventually it happened again; unfortunately, I don’t know why.
I am using ghc 8.10.2 and the following HLS version, both installed via ghcup:
❱ haskell-language-server-8.10.2 --version
haskell-language-server version: 0.4.0.0 (GHC: 8.10.2) (PATH: /Users/rob/.ghcup/bin/haskell-language-server-8.10.2~0.4.0) (GIT hash: 0a18edde24923251a148cbbc0ae993a6aac83b9c)
I have v1.1.0 of this VS Code extension, v3.3.0 of the Haskell syntax extension, and have been using Version: 1.49.2 of VS Code itself, although it tells me there is an update so I will install it presently.
- Lingua principale
- TypeScript
- Stelle
- 594
- Fork
- 99
- Merge medio
- 18h 19m
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di haskell/vscode-haskell
-
Support VS Code's foldable `#region` by adding `folding.markers` to `language-configuration.json`Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
haskell/vscode-haskell#1394 ·
-
type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
haskell/vscode-haskell#1332 · 2 commenti ·
-
status: needs triage
Difficoltà 3/5 Mezza giornata Idoneità per principianti 62/100
haskell/vscode-haskell#1412 · 1 commento ·
-
status: needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
haskell/vscode-haskell#1402 · 4 commenti ·
-
status: needs triage
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
haskell/vscode-haskell#1399 · 4 commenti ·
Tutte le issue di haskell/vscode-haskell
Issue simili
-
bug data-types
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
ClickHouse/clickhouse-js#1293 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
agent/quality testing
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
I maintainer di solito rispondono entro 1 giorno
-
GitHub registry install via `gh` credentials rewrites `\u0000`–`\u001f` escapes in source files to `^@`–`^_`Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
juspay/agent-distro#203 ·
I maintainer di solito rispondono entro 1 giorno