tinymist/editors/vscode
2024-03-07 21:35:01 +08:00
..
icons dev: init 2024-03-07 05:29:31 +08:00
src dev: init 2024-03-07 05:29:31 +08:00
.eslintignore dev: init 2024-03-07 05:29:31 +08:00
.eslintrc.js dev: init 2024-03-07 05:29:31 +08:00
.gitignore dev: init 2024-03-07 05:29:31 +08:00
.prettierignore dev: init 2024-03-07 05:29:31 +08:00
.prettierrc.js dev: init 2024-03-07 05:29:31 +08:00
.vscodeignore dev: init 2024-03-07 05:29:31 +08:00
language-configuration.json dev: init 2024-03-07 05:29:31 +08:00
LICENSE dev: init 2024-03-07 05:29:31 +08:00
package.json build: update metadata 2024-03-07 21:35:01 +08:00
README.md build: update metadata 2024-03-07 21:35:01 +08:00
tsconfig.json dev: init 2024-03-07 05:29:31 +08:00
typst.tmLanguage.json dev: init 2024-03-07 05:29:31 +08:00

tinymist Typst LSP VS Code Extension

A VS Code extension for Typst.

Features

  • Syntax highlighting, error reporting, code completion, and function signature help
  • Compiles to PDF on save (configurable to as-you-type, or can be disabled)

Usage Tips

  • This extension compiles to PDF, but it doesn't have a PDF viewer yet. To view the output as you work, install a PDF viewer extension, such as vscode-pdf.
  • To configure when PDFs are compiled:
    1. Open settings
    • File -> Preferences -> Settings (Linux, Windows)
    • Code -> Preferences -> Settings (Mac)
    1. Search for "Typst Export PDF"
    2. Change the Export PDF setting
    • onSave makes a PDF after saving the Typst file
    • onType makes PDF files live, as you type
    • never disables PDF compilation

Technical

The extension uses Typst LSP on the backend.