You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add context for when Output is Focused / Visible #44372
roblourens good point. However we already had that issue with the viewlets, since we already have a "activeViewlet" conext key.
We should document this properly Greg Van Liew (@gregvanl)
Activity
isidorn commentedon Feb 27, 2018
There is a context
inOutput, please try that3v1n0 commentedon Feb 27, 2018
Ok that works when if focused (but needs to be documented), what about when it's visible?
[-]Add context for when Output is Focused[/-][+]Add context for when Output is Focused / Visible[/+]isidorn commentedon Feb 27, 2018
We accept PRs that update our docs. Checkout the vscode-docs repo.
No this is not currently supported, we accept PRs that add this.
Code pointers
Similar to the viewlet service here
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/services/viewlet/browser/viewletService.ts#L19
The panelPart would add a context key https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/browser/parts/panel/panelPart.ts#L34
roblourens commentedon May 30, 2018
"when": "activePanel == 'workbench.panel.repl'"works but how does a user learn the panel ID?isidorn commentedon May 31, 2018
roblourens good point. However we already had that issue with the viewlets, since we already have a "activeViewlet" conext key.
We should document this properly Greg Van Liew (@gregvanl)