Skip to content

Outline and statement range provider from LSP doesn't restore after an extension host restart #9069

@juliasilge

Description

@juliasilge

We have a problem with how the outline behaves after an extension host restart.

  1. Have a file open that generates an outline, such as an .R file or a .qmd file with either R or Python code; note the outline
  2. Run Developer: Restart Extension Host
  3. Note that although a lot comes back online after the restart (your console contents, Variables, Plots), the outline is now gone
  4. Try clicking to a different file and back; note that this isn't enough to get the outline back
  5. Run Developer: Reload Window; note that this does get the outline back

This does not happen for every kind of file. For example, the outline comes back for regular .py files.

cc @SamEdwardes

Positron Version: 2025.09.0 build 64
Code - OSS Version: 1.102.0
Commit: 932a61e
Date: 2025-08-15T03:37:44.231Z
Electron: 35.6.0
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.6.0

Metadata

Metadata

Assignees

Labels

area: coreIssues related to Core category.area: kernelsIssues related to Jupyter kernels and LSP serversbugSomething isn't workinglang: r

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions