BrandonKirbyson / VSCode-Animations

A VSCode extension that adds animations to the editor
https://marketplace.visualstudio.com/items?itemName=BrandonKirbyson.vscode-animations
MIT License
200 stars 6 forks source link

[feature request] animate editor tabs bar on tab close #28

Closed mbalc closed 5 months ago

mbalc commented 1 year ago

title, basically

when you create a new editor, there is a 'translate' animation; but there isn't any when you close it

BrandonKirbyson commented 1 year ago

Yes, so this is something that I really want to add but it is very tricky. VSCode deletes the tab element so an animation can't be run unless a "fake" element is added back, animated, then deleted. Even then VSCode references the html and the tab bar can get messed up.

I tried this a while ago but I will leave this issue open, maybe I can find a way because I really have been wanting to add closing animations to a bunch of stuff. Possibly I might be able to just animate the tabs around the just-closed one to translate back since they aren't deleted, if that sounds good.

BrandonKirbyson commented 5 months ago

Near impossible to do without conflicting with the editor unless vscode changes in someway.