-
Notifications
You must be signed in to change notification settings - Fork 29.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support an extension point for customizing gutter interaction. #38568
Comments
@changsi-an what "breakpoint-like" object do you have in mind? |
Hi @kenneth Auchenberg<mailto:[email protected]>,
Can you help explain the LogPoints scenario to Andre?
Thanks,
-Chance
|
@changsi-an I think I understand the LogPoints scenario. From your initial description it wasn't clear to me whether you had more advanced "breakpoint-like" things in mind. |
@weinand Yeah, we don't have a more advanced thing in mind other than LogPoints for now. Potentially more concepts very similar to LogPoints which we have not flatten out yet. In regard to
Without actually seeing a draft API, it is hard for me to speculate what you mean by |
Since LogPoints are supported now, no further work planned here. |
Feature request
It will be useful to be able to control the pop-up menu when user right-clicks the gutter of a document:
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.
The text was updated successfully, but these errors were encountered: