Hi all! My name is Erik, I’m new to the forum. I wanted to share with you that I built a new Typst plugin from scratch for Jetbrains products (such as IntelliJ, PyCharm, etc). I’ve created similar plugins for both AsciiDoc and reStructuredText, and thought it might be useful to have a well supported plugin in the Jetbrains ecosystem.
The plugin has a couple of features, like:
- Syntax highlighting for markup, code, and math modes
- Live preview with scroll sync
- Smart code completion, diagnostics, and quick-fixes via Tinymist LSP
- Go-to-definition, find usages, and rename refactoring
- Code formatting via typstfmt or typstyle
- Document outline and structure view
- Export to PDF, PNG, and SVG
- Run configurations for typst compile and watch
- Live templates for common Typst patterns
- Language injection in raw code blocks (90+ languages)
- Table editing with visual size chooser and context menu
- Spell checking in markup content
- Customizable color scheme for all three modes
- Code inspections (consecutive blank lines, missing title, missing code language, inconsistent list markers, unmatched formatting)
- Quick formatting actions for bold, italic, inline code, strikethrough, headings, lists, and links
- File templates for new Typst documents
If you want to give the plugin a spin, you can find it here: https://plugins.jetbrains.com/plugin/30231-typst-pro
Any questions, feedback, comments, happy to hear them!
Cheers,
Erik
