Skip to content

Allow for Editor Action icons to be shown on inactive Editor Groups #209962

Closed
@IanMatthewHuff

Description

@IanMatthewHuff

For our extension (VS Code for Education) we have a main webview content pane parked in editor group 1 that hosts our lesson content and we often have a runnable code file parked in editor group 2. To help students with running their code files, we provide a run Editor Action that we add to the editor actions for code files. We also don't show the usual run and debug sidebar section in our basic student profiles, so they need to run via the file editor actions.

Our discoverability problem with this is that in our default layout focus is usually in the lesson content where students are reading text, navigating lesson parts, or answering questions. This means that most of the time the run button on the code file is invisible, and only shows up when clicking over to it. We've seen a lot of new students stuck on initially finding out how to run their code files.

Recording 2024-04-09 at 08 48 47

Ideally, we'd like some way to work around this, either by a general setting we could turn on to show all editor actions in inactive windows, or by letting specific editor action contributions opt into being shown on inactive editor groups. So here we could opt in all or specific primary actions:

// Inactive: only show "Unlock" and secondary actions

@asmeets

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions