squiggle/packages/vscode-ext
2022-10-09 13:47:41 +04:00
..
.vscode ran prettier from toplevel 2022-06-20 11:53:19 -04:00
images tweak: Show what to click in the extension 2022-07-13 13:37:17 -04:00
media remove showControls from website code and vscode ext 2022-07-23 00:03:55 +04:00
overrides/jest vscode extension 2022-06-17 00:37:20 +03:00
src vscode-ext: move to esbuild bundling, cleanup 2022-10-08 19:24:30 +04:00
syntaxes highlight keywords 2022-06-20 23:57:27 +03:00
.gitignore vscode-ext: move to esbuild bundling, cleanup 2022-10-08 19:24:30 +04:00
.prettierignore rm eslint 2022-08-29 21:48:14 +08:00
.vscodeignore vscode-ext: move to esbuild bundling, cleanup 2022-10-08 19:24:30 +04:00
.yarnrc vscode extension 2022-06-17 00:37:20 +03:00
language-configuration.json basic language-configuration 2022-06-21 00:26:16 +03:00
LICENSE vscode ext 0.0.2, minor tweaks 2022-06-18 21:39:23 +03:00
package.json Merge branch 'develop' into turborepo 2022-10-09 13:47:41 +04:00
README.md yarn format compels me 2022-07-28 10:43:59 -04:00
tsconfig.json lint 2022-10-09 13:28:59 +04:00
yarn.lock language server for vscode; patched vsce 2022-06-22 01:00:43 +03:00

Squiggle For VS Code

About

This extension provides support for Squiggle in VS Code. It can be found in the VS code marketplace

Features:

  • Preview .squiggle files in a preview pane
  • Syntax highlighting for .squiggle and .squiggleU files

Installation

You can install this extension by going to the "extensions" tab, searching for "Squiggle", and then installing it.

Usage

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.

Configuration (optional)

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+, with 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.

Build locally

We assume you ran yarn at the monorepo level for all dependencies.

Then, simply yarn compile at the vscode-ext package level. It will build squiggle-lang, squiggle-components, and the VS Code extension source code.