Skip to content

Typstry v0.1.0

Pre-release
Pre-release

Choose a tag to compare

@Sovichea Sovichea released this 29 Jun 16:07

Welcome to the initial release of Typstry (v0.1.0) — a lightweight, local-first Typst editor built on Tauri v2, Bun, and CodeMirror 6.

Typstry is engineered with a Unicode-First Philosophy, ensuring that complex scripts (such as Khmer, Arabic, and Laos) render, align, and wrap seamlessly alongside your code without cursor offset issues.


Key Features in this Release

Unicode-Aligned Editing & Rendering

  • Unified Font Fallback Engine: Typstry automatically detects and recommends script-specific fonts (like MiSans and Noto Sans) with explicit user consent.
  • Precise Cursor & Wrap Alignment: Fixed standard editor bugs where non-ASCII characters caused horizontal cursor offsets or broken word wraps.

IDE-Grade Editor Experience

  • LSP-Powered Autocompletion: Context-aware autocompletions using Tinymist's sortText priority matching. Autocomplete triggers are optimized to suppress pops on bracket insertions or space inputs.
  • Smart Bracket Colorizer: Implements colorized rainbow bracket matching restricted to code punctuation, completely ignoring strings, comments, and inline equations.
  • Escaped Symbol Protection: Custom input interceptors prevent auto-closing symbols if they are preceded by a backslash (e.g. \$ for literal dollar signs).
  • Robust Syntax Rules: Built-in support for highlighting nested functions without requiring the # prefix inside code blocks.

Native Workspace & Layout Management

  • Persistent Tab State: Remembers open files, tab selection order, scroll offsets, and editor split-screen ratios across sessions.
  • Dynamic File Explorer: Built-in lazy-loading sidebar showing project trees with clean Material icons, supported by secure backend Rust commands for directory creation, renaming, and copying.
  • Custom Frameless Titlebar: A premium, minimalist window design with native-feeling header buttons.
  • Integrated Log Console: Instant diagnostic logs and compile-status output reachable via shortkey or status bar.

Managed Toolchain & Live Preview

  • No External Dependencies: No need to install typst or node system-wide. Typstry downloads and manages stable Tinymist binaries locally.
  • Instant Bidirectional Previews: Live preview utilizing Tinymist compilation with loopback websocket exemption, allowing real-time update syncs without mixed-content preview blocks.

Keyboard Shortcuts

  • Ctrl + N: New File
  • Ctrl + K, Ctrl + O: Open Workspace
  • Ctrl + B: Toggle Explorer Sidebar
  • Ctrl + ,: Open Settings
  • Alt + Z: Toggle Word Wrap
  • Ctrl + ~: Toggle Log Console