Awesome
Installation
From the directory of this file, run:
sudo npm install -g vsce
npm install
vsce package
code --install-extension cairo*.vsix
Configuration
If you have cairo-format
installed globally (available in PATH), the value of
cairo.cairoFormatPath
should be cairo-format
(the default).
If you're working inside a StarkWare repository, and want the most up-to-date version,
set the value of cairo.cairoFormatPath
to
${workspaceFolder}/src/starkware/cairo/lang/scripts/cairo-format
Run the extension (for development)
- Open VSCode in the directory of the extension.
- Run:
npm install npm run compile
- Reload VSCode.
- Press F5.