Skip to content

v0.12.12

Latest
Compare
Choose a tag to compare
@Myriad-Dreamin Myriad-Dreamin released this 16 Dec 17:46
· 31 commits to main since this release
d3269f5

Editor

  • Configuring word separator and pattern specific for typst in #990 and #1002
    • Previously some-ident is split to |some-|ident| from left to right or |some|-ident| from right to left. Now VS Code identifies it as a single word.
  • Checking affiliated column for a hidden typst source document by @Myriad-Dreamin in #1003

Preview

Code Analysis

  • (Fix) Simplified types of variables for hover tooltip by @Eric-Song-Nop and @Myriad-Dreamin in #959
  • (Fix) Corrected two wrong usages of analyze_import which prevents code analysis across modules in #967
  • Checking type of labels with tolerating syntax error in #975
    • For example, the non-closed label in #cite(<label) will not stop type checking and be inferred as a label from bibliography files.

Completion

  • (Fix) Fixed many bugs about completing import item, introduced since typst v0.12.0, by @Eric-Song-Nop and @Myriad-Dreamin in #962
  • Checking surrounding syntax when performing type completion in #965 and #968, and #972
    • For example, when inside of some string, it won't complete invalid results.
  • Converting prefix snippets to static data in #982
    • This is a preparation for the future feature of customizing and context-aware snippets. For example, removing some not-useful snippets by user preference or never showing invalid snippets in markup or code mode.
  • Prefetching package index for completion in #983
    • The server will start to fetch package index when the client first requests completion. This will reduce the latency of showing list of packages in completion.
  • Explicitly triggering suggest after completed import/include snippets in #984
  • Added in postfix snippet by @Eric-Song-Nop in #963
    • expanding $expr.in| to | in $expr.

Full Changelog: v0.12.10...v0.12.12