Skip to content

Expose ReOpenInTextEditorAction for extensions #6230

@juliasilge

Description

@juliasilge

It would be useful for the Quarto extension for us to make ReOpenInTextEditorAction accessible to the API for extensions:

id: 'workbench.action.reopenTextEditor',
title: localize2('reopenTextEditor', 'Reopen Editor With Text Editor'),

Right now, the Quarto extension has to save (this actually isn't happening all the time, we think), close a source editor, and reopen in visual mode, but we would prefer to use the nicer infrastructure that VS Code offers here to reopen.

To use this now, from the command palette:

Image

Then:

Image

Metadata

Metadata

Assignees

Labels

area: apiIssues related to API category.area: coreIssues related to Core category.area: quartoIssues related to Quarto category.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions