Did you know that with every Cairo release, there’s also a new version of the VS Code plugin? If you’ve set up your development environment before the latest version was released (0.9.1, roughly a week ago), chances are your Cairo plugin is outdated. It still works, but you’re missing out.
It’s easy to fix though. Go to the cairo-lang Releases page, select the Assets dropdown and download the .vsix
plugin. Or just click this link to do it directly 😇
Next, run code --install-extension cairo-0.9.1.vsix
from the command line. Et voilà, it’s done. Keep in mind you’ll have to do this with every new cairo-lang release.
So here’s a plea to the cairo-lang team - can you please properly publish the VS Code plugin and update it with every new version? The cairopractooor all around the world will surely appreciate it 💫