After years of using Notepad++, I landed on using Brackets, a code editor by Adobe. It was pretty simple but had some nice things like an easing curve editor. When the VS Code wave hit me, I was left missing such a feature, so I made my own extension to preview what CSS timing functions look like.
It is held together by duct tape but it works! All this despite being in TypeScript, which I do not use anywhere else. I like typings, to an extent, but this is a step too far for me.
As of the 19th of March, 2023, it supports the linear()
syntax, but the built-in browser of VS Code does not, so the preview shows the right graph, but the wrong easing on the animation, as the spec is still relatively fresh.
Do note that is only offers a preview of the animation and the resulting easing curve — no editing as of yet. One day, I'll dig into the core of VS Code and figure out how to replicate, within VisuBezier, the Brackets feature, or something like what you see on the excellent cubic-bezier.com by Lea Verou. But until that time comes, this will have to do. And if you use VS Code, please give it a try, I'd love some feedback!