v0.11.2
Editor
- (Fix) Passed correct arguments to editor tools in #111
This is useful for working with multiple-file projects. - (Fix) exposed pin/unpin commands for vscode in #121
Compiler
-
(Fix) Converting out of bounds offsets again in #115
-
Supported entry configuration in #122
This is useful for working with multiple-file projects, but we strongly suggest to usepin
commands or enable typst-preview's auto pin feature.Example use for VSCode:
{ "tinymist.typstExtraArgs": [ // specify sys.inputs "--input=theme=dark", "--input=context={\"preview\": true}", // entry path relative to root, or an absolute path if you are unsure where the root is. "main.typ" ] }
After changing configuration, you should reload editor to ensure it to work.
-
Supported untitled url scheme for unsaved text buffer in #120 and #130
- Press
Ctrl
+N
to create an untitled text document. - Change language of buffer to
typst
- You can write and preview temporary content without saving to disk:
- Press
Commands/Tools
- Allowed tracing typst programs in subprocess in #112
- This is part of backend for tracing tool, and we may finish a tracing tool in next week.
Formatting
- Supported formatters in #113
- Use
"formatterMode": "typstyle"
fortypstyle 0.11.7
- Use
"formatterMode": "typstfmt"
fortypstfmt 0.2.9
- Use
- feat: minimal diff algorithm for source formatting in #123
2024-03-30.22-26-41.mp4
Completion
- Fixed wrong completion kind in #124 and #127
- Not completing on definition itself anymore in #135
- Supported import path completion in #134
2024-03-30.22-27-50.mp4
Syntax/Semantic Highlighting
- (Fix) Corrected identifier/keyword boundaries in #128
- Improved punctuation and keyword token kinds in #133
Hover (Tooltip)
- fix: parse docstring dedents correctly in #132
Full Changelog: v0.11.1...v0.11.2