Outline panel stuck at "Loading document symbols..." for large .qmd files due to 10000ms LSP timeout (but Breadcrumbs work)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- r, typescript, vscode
- 領域
- tooling
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 652
- フォーク
- 64
- 平均マージ
- 8時間 45分
- マージ済み PR(30日)
- 36
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quarto-dev/quarto のほかの issue
-
VS Code extension: `quarto preview` fails when the file path contains parentheses (path not shell-quoted)対応中かも @Bondrewd-K が 4 日前に担当しました。 オープンbug vscode
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
quarto-dev/quarto#1194 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
quarto-dev/quarto#1139 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
quarto-dev/quarto#1138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
quarto-dev/quarto#1137 ·
メンテナーはふだん 1 日以内に返信
-
Add dependabot?再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
quarto-dev/quarto#1135 ·
メンテナーはふだん 1 日以内に返信
quarto-dev/quarto の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
auth: agent-bearer --manager-call is told to use the MCP instance argument on an ambiguous managerオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
bug module: playback
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chthollyphile/folia-major#739 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agilepathway/label-checker#773 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信