- Bumped typstyle from v0.12.6 to v0.12.12 by @Enter-tainer in #987 and #1010
- This version includes massive update on comment formatting and binary operator chain formatting. For details, see https://enter-tainer.github.io/typstyle/changelog/#v01211---2024-12-16
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.
- Previously
- Checking affiliated column for a hidden typst source document by @Myriad-Dreamin in #1003
Preview
- (Fix) Rewrote some code for compatibility to some old chromium core by @Parsifa1 in #995
- Jumping to nearest position in preview from cursor by @Eric-Song-Nop and @Myriad-Dreamin in #997 and #1004
- Partially fix issues/626, it doesn't quite work but this is the first step.
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.
- For example, the non-closed label in
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
.
- expanding
Full Changelog: v0.12.10...v0.12.12