Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst].
Find a file
Myriad-Dreamin 7e94c7d47c
feat: provides correct semantic highlighting (#71)
* dev: initialize highlight test

* dev: add more cases

* fix: overlapping token

* fix: multiple lines token
2024-03-19 01:20:22 +08:00
.github build: bump version to 0.10.3 (#54) 2024-03-17 00:57:36 +08:00
.vscode feat: local publish 2024-03-09 16:15:45 +08:00
crates feat: provides correct semantic highlighting (#71) 2024-03-19 01:20:22 +08:00
editors/vscode fix: two bugs during initializing template (#65) 2024-03-18 12:00:16 +08:00
tools/editor-tools fix: two bugs during initializing template (#65) 2024-03-18 12:00:16 +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: provides correct semantic highlighting (#71) 2024-03-19 01:20:22 +08:00
Cargo.toml feat: use ts and preview crates (#73) 2024-03-18 23:01:07 +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 build: bump version to 0.10.3 (#54) 2024-03-17 00:57:36 +08:00
yarn.lock feat: add template gallery as template picker (#52) 2024-03-16 22:23:09 +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