squiggle/packages/vscode-ext
NunoSempere a9d9ed9ae6 tweak: Better documentation
So that even newbies can understand.
2022-07-13 13:29:32 -04: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: Better documentation 2022-07-13 13:29:32 -04:00
media vscode: configuration for show* 2022-06-20 23:34:53 +03: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
.eslintrc.json ran prettier from toplevel 2022-06-20 11:53:19 -04:00
.gitignore language server for vscode; patched vsce 2022-06-22 01:00:43 +03: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 ⬆️ Bump @typescript-eslint/parser from 5.30.5 to 5.30.6 2022-07-11 18:07:30 +00:00
README.md tweak: Better documentation 2022-07-13 13:29:32 -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.

Configuration

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.

Usage

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.