Skip to content

Support an extension point for customizing gutter interaction. #38568

@changsi-an

Description

@changsi-an
  • VSCode Version: 1.18.0
  • OS Version: 16.04.1-Ubuntu

Feature request

It will be useful to be able to control the pop-up menu when user right-clicks the gutter of a document:

screenshot

  • The feature should support adding to / replacing the existing menu items "Add Breakpoint" and "Add Conditional Breakpoint...", potentially based on the current document URI.

  • Then it should be able to control the gutter glyph that would be added after the associated command is executed. It should give the command handler control over what the glyph will look like.

  • After the glyph is added, the context menu will change. There should be a way to control what menu items should display in that menu after the glyph is added.

User Case

This feature is needed, so we can add another type of "breakpoint-like" object to the application's business model. And also disable setting breakpoints when setting a breakpoint scenario does not apply to certain documents.

Metadata

Metadata

Assignees

Labels

apidebugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions