Skip to content

Add setting and command to show/hide cells in outline#974

Open
vezwork wants to merge 1 commit intomainfrom
feat/toggle-code-cells-in-outline
Open

Add setting and command to show/hide cells in outline#974
vezwork wants to merge 1 commit intomainfrom
feat/toggle-code-cells-in-outline

Conversation

@vezwork
Copy link
Copy Markdown
Member

@vezwork vezwork commented May 8, 2026

Fixes #647

Kapture.2026-05-08.at.12.51.44.mp4
  • Adds a symbols.showCodeCellsInOutline setting to the Quarto configuration,
  • Adds a quarto.toggleCodeCellsInOutline command to toggle that setting.

Note: I attempted to add tests but for some reason in the tests the outline / document symbols refuse to change. I tried many things including waiting longer during the test after calling quarto.toggleCodeCellsInOutline, programmatically getting document symbols with vscode.executeDocumentSymbolProvider, looking with my own eyes at the outline during the test. I'm not sure why it doesn't work in the test environment!

@vezwork vezwork requested a review from juliasilge May 8, 2026 16:57
@posit-snyk-bot
Copy link
Copy Markdown
Contributor

posit-snyk-bot commented May 8, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toggle to show/hide code cells in Outline

2 participants