Skip to content

Pass line number to custom editor when opening custom editors #94037

@DonJayamanne

Description

@DonJayamanne

@kieferrm as requested, creating a new issue.
Originally posted here #77131 (comment)

Please could you add support for line/column information to the custom editor.
E.g. when users open a file from VS Code (in problems pane or debug stackframe), it opens a file and goes to a specific line number.
We'd like to have this functionality in the notebook editor for DS functionality in the Python extension.

  • This allows us to build a debugger using the VS Code UI (current plan is to build a debugger with a custom bare minimum UI, without stack frames, without variables, etc, i.e. without majority/any of the VS Code debugger UI).
  • Would allow us to add support for notebook outline views
  • This will also allow us to add support for linting (displaying problems related to python code in problems window).
    & more.

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS Codeapicustom-editorsCustom editor API (webview based editors)feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions