Skip to content

0.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Aug 06:58
· 3 commits to main since this release
Immutable release. Only release title and notes can be modified.
4d98458

What's Changed

Added

  • A "New → Typst File" action is now available. Right-click a directory in the Project view — or use File → New —
    and choose Typst File to create a .typ file with the right extension and icon already applied, instead of using
    New → File and typing the extension by hand (issue #126).
  • Ten live templates for common Typst patterns. Type an abbreviation and press Tab to expand boilerplate
    for a heading, figure, table, math block, list, footnote, set rule, show rule, import, or page-setup rule, with
    tab-stop navigation between the placeholders. Available under Settings > Editor > Live Templates > Typst, and
    scoped to .typ files only (issue #123).

Changed

  • The Typst file icon has been redesigned. The previous icon reused the plugin's own "renderer" branding, which
    looked out of place as a file icon; the new one follows the JetBrains file-icon style used by languages like JS and TS
    (issue #116).
  • Opening .typ files no longer repeatedly re-scans the filesystem for the tinymist binary — the resolved path is now
    cached. The plugin's bin/ download directory is no longer created as a side effect of every lookup, only when a
    binary is actually downloaded there (issue #54).
  • Reduced token and PSI overhead on documents with large blocks of indentation or blank lines: the lexer now groups a
    run of whitespace into a single token instead of creating one token per character (issue #55).

Fixed

  • Closed a latent gap in the Typst Output console's disposal wiring where a console rebuilt mid-session (not currently
    reachable through any existing action) could be left live but silently unreferenced, permanently dropping further
    output. Defensive fix; no known way to trigger it today (issue #125).

PRs

  • Changelog update - 0.5.1 by @github-actions[bot] in #119
  • Improve whitespace handling and enhance binary management in TinymistManager by @pndv in #121
  • Update Typst SVG Icon (fixes #116) by @pndv in #122
  • Update dependency com.squareup.okhttp3:mockwebserver to v5.5.0 by @renovate[bot] in #120
  • Add Live Templates Support for Typst Language by @pndv in #124
  • Improve console disposal logic in TypstOutputToolWindowFactory by @pndv in #125
  • Add "New Typst File" action by @pndv in #127
  • Release 0.6.0 by @pndv in #128

Full Changelog: 0.5.1...0.6.0