Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Autocompletion Slow

Aperta
#687 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
r, vscode

Direzione di ricerca

Il report menziona l’uso remoto di VSCode, l’estensione R e i log di languageserver, ma non indica alcun file del repository né alcun test. Inizia riproducendo il completamento ritardato e ispezionando quei log mentre testi le impostazioni segnalate. Il lavoro sarà considerato completato quando sarà stata confermata una causa e sarà disponibile una correzione documentata o una guida chiara per ottenere un completamento fluido.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi,

I'm using VSCode on a remote machine (a university cluster) and I am experiencing slow autocompletion in the VSCode editor with the R extension. When I type, no autocompletion is suggested, then after pressing Ctrl+Space, I see a message that says "Loading", which it will do for about 20s and then autocomplete works smoothly for a bit (1-2 min), then eventually the same thing happens and I have to reload (maybe after being idle for some number of seconds). I've been reading for hours online trying to see if there's anything from similar issues that might help, but so far they haven't worked. I tried disabling all extensions besides R and changing the R>LSP: Args to "--vanilla and --no-init-file". I have all the suggestion settings enabled and based on the Ctrl+Space behavior it really seems like the problem is that it takes a long time for the suggestions to load. I'm guessing a call is made to load R and I wonder if that's really slow for some reason.

When I look at the logs of languageserver, I see that it's loading a lot of my R packages, which has got to be the reason it takes a long time to load. Maybe it's because it's trying load all the packages listed in my R file (or all R files open in the editor?). That would be okay with me if it was done once automatically the first time a suggestion is attempted. But that's not the behavior I am observing. Is there a way I can achieve this behavior or do you have any advice to reach this goal of having smooth autocompletions?

Thanks,
George

Lingua principale
R
Stelle
675
Fork
118
Merge medio
1g 11h
PR unite (30g)
11

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di REditorSupport/languageserver

Tutte le issue di REditorSupport/languageserver

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.