Feature: Additional variables for titlebar #880
Labels
A-extension
Area: Extension/plugin integration, vscode or VimL
A-workspace
Area: Overall UX, editor layout, tabs/groups/splits etc.
E-good-first-issue
Call for participation: Good first issue
E-help-wanted
Call for participation: Help is requested to fix this issue.
enhancement
New feature or request
PR #879 adds a custom titlebar, that can be specified via the
window.title
configuration setting.VSCode supports a rich set of configuration settings:
However, we only support the following right now:
${activeEditorShort}
${separator}
${rootName}
${dirty}
This is tracking adding the additional variables. The place these would be added is here:
oni2/src/Store/TitleStoreConnector.re
Line 15 in d99801e
The
getTemplateVariables
takes our application state as a function, and returns a list of template variables -> values. We have both the workspace path asstate.workspace.rootName
and the active buffer file path available in that method, which should allow us to derive most of those.The text was updated successfully, but these errors were encountered: