Squiggle For VS Code
This extension provides support for Squiggle in VS Code. It can be found in the VS code marketplace
.squiggle files in a preview pane
- Syntax highlighting for
You can install this extension by going to the "extensions" tab, searching for "Squiggle", and then installing it.
After loading a
.squiggle file, an "Open Preview" button will appear. If you click it, the squiggle model will be shown, and updated as you edit and save you file.
Some preview settings, e.g. whether to show the summary table or types of outputs, can be configurable on in the VS Code settings and persist between different preview sessions. The VS Code settings can be accessed with the shortcut
Ctrl+Shift+P + searching "Open Settings", or by accessing a file like
$HOME/.config/Code/User/settings.json in Linux (see here) for other operating systems.
Check out the full list of Squiggle settings in the main VS Code settings.
We assume you ran
yarn at the monorepo level for all dependencies.
turbo run build --filter=vscode-squiggle at the top level. It will build
squiggle-components, and the VS Code extension source code.