Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Guidance: Customizing tabs' label/title text, and/or format? #141

Open
peter-lyons-kehl opened this issue Jul 11, 2022 · 0 comments
Open

Comments

@peter-lyons-kehl
Copy link

Dear Matej or his friend,

This is not an issue/feature request, but a request for guidance, please. I'd like to customize VS Code's editor (tab's) label/title text, and/or its format (whatever is the easiest). Would your Customize UI with Monkey Patch, or just Monkey Patch on its own, be a good direction?

(I have created several Firefox extensions in Javascript. But I've never extended/customized VS Code. I'm reading https://code.visualstudio.com/api.)

Can I use/extend Customize UI for this? If so, is run(titleBar) the place?

And/or, I see private computeTabLabels(): void - should I intercept/extend it, and if so, how?

(Insiders' API, or even main GIT-based VS Code, is fine. The detailed motivation for implementing this: microsoft/vscode-discussions#60. I do see that https://github.com/skoshy/nice-index-vscode has accomplished this, using Monkey Patch. But that was 2 years ago and VS Code API changed since then. I wonder if that's still the smoothest & most maintainable path.)

Thank you in advance for any tips.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant