Skip to content

Test: Outline button in Jupyter notebooks  #133901

@IanMatthewHuff

Description

@IanMatthewHuff

Refs: microsoft/vscode-jupyter#7305

Complexity: 1
Author: @IanMatthewHuff

Create Issue


File bugs on the Jupyter repo here: https://github.com/microsoft/vscode-jupyter/issues

Jupyter notebook users have been continually asking for Table of Contents control in their notebooks, and this functionality is currently provided by the VS Code Outline window. However, Jupyter users are not finding this control, and we are still getting issues and upvotes from users about a missing Table of Contents control. To alleviate this, a button has been added to the Jupyter notebook toolbar to focus the outline window to point users to this.

Testing:

  1. Jupyter insiders extension installed
  2. Open up a .ipynb file
  3. For viewing a useful outline it works best with some markdown cells with # header blocks in them (as they go into the outline view)
  4. On the toolbar there should be an Outline button next to the variables button
    image
  5. If the VS Code Outline view is collapsed or offscreen the button should be enabled. Pressing the button should focus the outline view.
  6. If the VS Code Outline view is onscreen and expanded the button should be disabled.
  7. "Jupyter: Show Table Of Contents (Outline View)" command should be available for the same function also when the view is offscreen or unavailable. The naming here is specifically for notebook customers searching for table of contents in the command list.
    image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions