Skip to content

Support outline for custom editors #101476

Closed

Description

@perspectivus1

As a developer, I would like to see the outline tree for non-text editors. Currently, I get this message for my custom editor:

The active editor cannot provide outline information

image

Note that I get this message even though my custom editor is registered using a CustomTextEditorProvider. This provider is based on TextDocument, and so is DocumentSymbolProvider, so enabling the outline should be straightforward.

I believe showing the outline would be very useful, even if clicking on a symbol in the outline does not navigate to a location in the custom editor.

Activity

  1. added
    *duplicate
    outline
    on Jul 1, 2020
  2. vscode-triage-bot commented on Jul 1, 2020

    @vscode-triage-bot

    Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

    Happy Coding!

  3. gjsjohnmurray commented on Jul 1, 2020

    @gjsjohnmurray
    Contributor

    perspectivus1 I suggest you upvote #97095

  4. locked and limited conversation to collaborators on Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicateoutline

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions