3 ms·
My guess is that VSCode tightly controls the editor views for performance reasons and probably doesn't expose an API that allows you to do this. You can do arb
by habitue 5y ago
My guess is that VSCode tightly controls the editor views for performance reasons and probably doesn't expose an API that allows you to do this.
You can do arbitrary things in webviews, but they're kinda slow and you might have to completely reimplement the editor for this to work
- btown 5y agoVSCode's general approach to limiting the visual customization options available to extensions (which is very rational since it allows significant ongoing flexibility to optimize performance) is part of the problem, but it's even worse since VSCode has only in the past 1.5 months begun work on a read-only API to even read the set of open tabs, see https://github.com/microsoft/vscode/issues/15178 https://github.com/microsoft/vscode/issues/15178 and its 93 (!) comments - development of a read-write API is still ongoing in https://github.com/microsoft/vscode/issues/133532 https://github.com/microsoft/vscode/issues/133532 . At the moment, it's impossible to even write a reliable extension that saves and restores open tabs and their locations to a given state!