LuaLS / LuaLS/lua-language-server
WorkspaceUpdate and diagnostic changes
Nessuno ha ancora preso questa issue.
- Lingua principale
- Lua
- Stelle
- 4.4k
- Fork
- 442
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
How are you using the lua-language-server?
Other
Which OS are you using?
Linux
What is the issue affecting?
Diagnostics/Syntax Checking
Expected Behaviour
Lua language server sends textDocument/publishDiagnostics with error but at the same time gives description
This error happens only when sending workspace/didChangeConfiguration every two seconds with new annotations for lua, working without frequent configuration changes works ok
- After some time this notification disappears, does server support frequent configuration changes?
- Is there any sync between updating workspace.library and diagnostic checks?
- Are there any ways how debug where the problem comes from?
Actual Behaviour
No error with undefined global appear
Reproduction steps
Actually, we wrote our own extension for VScode and use language server binary to run in separate subprocess
Additional Notes
No response
Log File
No response
Guida per i contributori
Apri 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.
Direzione di ricerca
Non sono indicati file o test. Inizia riproducendo il problema mentre invii workspace/didChangeConfiguration ogni due secondi con annotazioni Lua variabili, quindi traccia l’interazione tra gli aggiornamenti di workspace.library e textDocument/publishDiagnostics. Il lavoro è completato quando viene identificato il comportamento di sincronizzazione o configurazione e viene ripristinata la diagnostica undefined-global oppure viene documentato il comportamento supportato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- devtools
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100