Skip to content

Cannot add action to the left-hand-side of the diff editor #385

@alexdima

Description

@alexdima

addAction() and addContextMenu() are methods on IStandaloneEditor, but getOriginalEditor() and getModifiedEditor() return the CodeEditor instead of StandaloneCodeEditor. If I add a command to the diffEditor, then it only shows up on the modified editor, not the original editor. Previously, we could add it to both.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions