Outline panel stuck at "Loading document symbols..." for large .qmd files due to 10000ms LSP timeout (but Breadcrumbs work)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- r, typescript, vscode
- Área
- tooling
Línea de trabajo
Reproduce with a large .qmd file and r.lsp.enabled: true, then inspect the Quarto / Window Output warning about the 10000ms EmbeddedDiagnostics timeout. Compare the DocumentSymbols request used by the Outline panel with the symbols shown in Breadcrumbs; done means the Outline loads and retains symbols for the affected large documents without being blocked by the timeout.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug description
When working with large Quarto documents (.qmd files with 4,000 to 9,000+ lines containing mixed Markdown and R code chunks), the left Outline panel in VS Code fork gets stuck indefinitely with the message: "Loading document symbols for 'xxx.qmd'...".
However, the top Breadcrumbs navigation successfully displays the document symbols and variables. This discrepancy indicates that the R Language Server is actively working and eventually returns the symbols, but the left Outline panel fails to render them, likely due to a hardcoded timeout in the Quarto extension.
Error Logs
When checking the Output panel (Quarto / Window), the following warning is consistently thrown:
[warning] [EmbeddedDiagnostics] Language server for r did not respond within 10000ms for scripts/AOP.qmd
Steps to reproduce
Create or open a massive .qmd file (e.g., 2000-3000 lines) with numerous ````{r}` chunks and data-heavy operations.
Enable r.lsp.enabled: true in the settings.
Open the file. The top Breadcrumbs will eventually parse and show the structure/variables.
Look at the left Outline panel; it spins endlessly with "Loading document symbols...".
Switch to another tab and switch back. The cache is flushed, and the Outline completely disappears, failing to reload again due to the 10-second timeout.
Actual behavior
No response
Expected behavior
The Outline panel should display the symbols successfully, just like the top Breadcrumbs do, even if it takes longer than 10 seconds.
The request for DocumentSymbols (which is lightweight) should not be blocked or canceled by the heavy EmbeddedDiagnostics checking.
Your environment
Editor: VS Code fork
OS: macOS (Apple Silicon)
Quarto Extension Version: [v1.133]
R Version: 4.5.2 (arm64)
Language Server: R languageserver package
- Lenguaje dominante
- TypeScript
- Estrellas
- 652
- Forks
- 64
- Merge medio
- 8 h 45 min
- PR fusionados (30 d)
- 36
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de quarto-dev/quarto
-
VS Code extension: `quarto preview` fails when the file path contains parentheses (path not shell-quoted)Posiblemente ocupada @Bondrewd-K la tomó hace 2 días. Abiertobug vscode
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/quarto#1194 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
quarto-dev/quarto#1139 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
quarto-dev/quarto#1138 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
quarto-dev/quarto#1137 ·
Los mantenedores suelen responder en 1 día
-
Add dependabot?Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
quarto-dev/quarto#1135 ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/quarto
Issues similares
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 75/100
siyuan-note/siyuan#20629 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Volume eject does not refuse system, root or /home mountsPosiblemente ocupada @bernardopg la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
spacedriveapp/spacedrive#3159 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
melgarafael/DeskcommCRM#3000 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
callstackincubator/simlock#639 ·
Los mantenedores suelen responder en 1 día