Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst].
Find a file
2024-03-26 11:40:20 +08:00
.github chore: improve issue report templates and integration (#88) 2024-03-23 10:09:23 +08:00
.vscode feat: local publish 2024-03-09 16:15:45 +08:00
crates dev: more accurate deref target (#104) 2024-03-26 11:40:20 +08:00
editors feat: add svg and png export (#101) 2024-03-26 11:25:46 +08:00
syntaxes/textmate feat: mark correct expression boundary on all testing files from typst/typst (#85) 2024-03-23 01:19:43 +08:00
tools/editor-tools feat: add tracing frontend (#98) 2024-03-26 10:54:47 +08:00
.gitignore docs: introduce language features 2024-03-09 17:20:20 +08:00
.prettierignore dev: init 2024-03-07 05:29:31 +08:00
Cargo.lock feat: allow running server with loading font once and on rootless files (#94) 2024-03-26 10:33:56 +08:00
Cargo.toml feat: add svg and png export (#101) 2024-03-26 11:25:46 +08:00
LICENSE dev: init 2024-03-07 05:29:31 +08:00
package.json feat: add template gallery as template picker (#52) 2024-03-16 22:23:09 +08:00
README.md feat: integrate neovim support (#91) 2024-03-23 18:46:31 +08:00
yarn.lock feat: provide more robust syntax highlight for expressions in markup context (#80) 2024-03-21 17:52:51 +08:00

Tinymist

Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst]. You can also call it "微霭" [wēi ǎi] in Chinese.

It contains:

Features

Language service (LSP) features:

  • Semantic highlighting
    • Also known as "syntax highlighting".
  • Diagnostics
    • Also known as "error checking" or "error reporting".
  • Document symbols
    • Also known as "document outline" or "table of contents" in Typst.
  • Folding ranges
    • You can collapse code/content blocks and headings.
  • Goto definitions
    • Right-click on a symbol and select "Go to Definition".
    • Or ctrl+click on a symbol.
  • References
    • Right-click on a symbol and select "Go to References" or "Find References".
    • Or ctrl+click on a symbol.
  • Hover tips
    • Also known as "hovering tooltip".
  • Inlay hints
    • Inlay hints are special markers that appear in the editor and provide you with additional information about your code, like the names of the parameters that a called method expects.
  • Code Lens
    • Should give contextual buttons along with code. For example, a button for exporting your document to various formats at the start of the document.
  • Rename symbols
  • Help with function and method signatures
  • Workspace Symbols

Extra features:

  • Compiles to PDF on save (configurable to as-you-type, or other options)
  • Editor tools:
    • View a list of templates in template gallery.
    • Click a button in template gallery to initialize a new project with a template.

Installation

Follow the instructions to enable tinymist in your favorite editor.

Acknowledgements