vscode: Focused view missing for text editor
Huge fan of focusedView
for the window.title
setting as an accessibility user. The problem is that I really need to know when the text editor is focused or not. Currently I can’t tell if I’m in the editor or the search widget for example. Could we add Text Editor
as a view name in focusedView
?
edit: As a clarification this would be only when the focus is actually on the text editor document itself. No search or rename widgets. Preferably those would have their own names as well, but are not as important.
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Reactions: 33
- Comments: 20 (15 by maintainers)
Commits related to this issue
- fix #192534 — committed to microsoft/vscode by meganrogge 9 months ago
To verify:
${focusedView}
towindow.title
Text Editor
in the window title.Text Editor
in the window title.I think the monaco code editor exposes 2 events:
onDidFocusEditorText
andonDidFocusEditorWidget
that would need to be brought up to the title control I guess.Then go ahead and add a new variable as you see fit for this use case, I think there is no limits to what we can have there in terms of variables in that setting.