squiggle/packages/vscode-ext
2022-09-01 13:51:11 -07:00
..
.vscode ran prettier from toplevel 2022-06-20 11:53:19 -04:00
client highlight record keys 2022-06-26 11:42:56 +03: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
server semantic highlight based on squiggle-lang AST 2022-06-26 11:15:25 +03:00
syntaxes highlight keywords 2022-06-20 23:57:27 +03:00
.gitignore language server for vscode; patched vsce 2022-06-22 01:00:43 +03:00
.prettierignore rm eslint 2022-08-29 21:48:14 +08:00
.vscodeignore vscode extension 2022-06-17 00:37:20 +03: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 increment vs code v to 0.3.2 2022-09-01 13:51:11 -07:00
README.md yarn format compels me 2022-07-28 10:43:59 -04:00
tsconfig.json language server for vscode; patched vsce 2022-06-22 01:00:43 +03: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.