Releases: Myriad-Dreamin/tinymist
v0.11.6
Editor
- Added more auto closing pairs, surrounding pairs, and characters that could make auto closing before in #209
- Hiding Status bar until the recent focus file is closed in #212
Compiler
- (Fix) Removed a stupid debugging which may cause panic in #215
Commands/Tools
- Completed symbol view in #218
- Not all symbols are categorized yet. If not, they are put into the "Misc" category.
- It is now showing in the activity bar (sidebar). Feel free to report any issues or suggestions for improvement.
2024-04-27.10-39-34.mp4
Full Changelog: v0.11.5...v0.11.6
v0.11.5
Completion
-
Fixed wrong check of param completion position at comma in #205
-
Completing text.lang/region in #199
completing text.lang with iso 639-1/2/3 tables:
-
Completing array/tuple literals in #201
-
Completing function arguments on signatures inferred by type checking in #203
-
Completing function arguments of func.where and func.with by its method target (this) in #204
-
Completing functions with where/with snippets in #206
Inlay Hint
-
(Fix) Checking variadic/content arguments rules of inlay hints correctly in #202
Syntax/Semantic Highlighting
- (Fix) Correctly parsing on reference names of which trailing dots or colons cannot be followed by space or EOF in #195
- (Fix) Identifying string literals in math mode in #196
Misc
- Bumped to typstyle v0.11.14 by @Enter-tainer in #200
- Preferring less uses of
analzer_expr
during definition analysis in #192
Full Changelog: v0.11.4...v0.11.5
v0.11.4
v0.11.4 - [2024-04-14]
This version is published with mostly internal optimizations.
Editor
- (Change) Renamed trace feature to profile feature in #185
Compiler
- (Fix) Set entry state on changing entry in #180
- will cause incorrect label completion.
Completion
-
Autocompleting with power of type inference in #183, #186, and #189
- See full list at https://github.com/Myriad-Dreamin/tinymist/blob/878a4146468b2a0e7a4435d7d0636df4f2133907/crates/tinymist-query/src/analysis/ty/builtin.rs
- (Experimental) Autocompleting text size with commonly used values, then you can get
size: 12pt
with less keystrokingsz12
. Please post your idea if you feel it could get improved.
And more values is shown in following screenshot:
- Autocompleting all positional arguments with more appropriate types.
- Autocompleting the
path
parameter oncbor
/csv
/image
/read
/read
/json
/yaml
/xml
/toml
/raw.theme
/raw.syntaxes
/bibliography
functions
- Autocompleting the
fill
/stroke
/inset
/outset
/margin
/radius
parameter on a bunch of builtin functions
2024-04-13.13-26-47.mp4
-
(Fix) slicing at an offset that is not char boundary in #188
Formatting
- Bumped typstyle to v0.11.13 by @Enter-tainer in #181
Syntax/Semantic Highlighting
- Provided better grammar on incomplete heading in #187
Misc
- (Fix) Improved release profile & fix typos by @QuarticCat in #177
Full Changelog: v0.11.3...v0.11.4
v0.11.3
Editor
- (Fix) Skipped tabs that have no URIs for reopening pdf in #147
Compiler
Commands/Tools
- Introduced symbol picker in #155
2024-04-06.15-04-38.mp4
- Introduced periscope mode previewing in #164
- It is not yet ready for use, blocked by restricted image support in VSCode's markdown.
- Introduced status bar for showing words count, also for compiling status in #158
- Supported tracing execution in current document in #166
2024-04-06.15-09-18.mp4
2024-04-06.15-07-34.mp4
Color Provider (New)
- Added basic color providers in #171
2024-04-06.15-12-15.mp4
Completion
- (Fix) Performed correct dynamic analysis on imports in #143
- (Fix) Correctly shadowed items for completion in #145
- (Fix) Completing parameters in scope in #146
- Completing parameters on user functions in #148
- Completing parameter values on user functions in #149
- Triggering autocompletion again after completing a function in #150
- Recovered module completion in #151
Syntax/Semantic Highlighting
- (Fix) Improved grammar on incomplete AST in #140
- (Fix) Correctly parsing label and reference markup in #167
Definition
- Supported go to paths to
#include
statement in #156
Formatting
- Bumped to typstyle v0.11.11 by @Enter-tainer in #163
- Added common print width configuration for formatters in #170
Hover (Tooltip)
- Joining array of hover contents by divider for neovim clients in #157
Internal Optimization
- Analyzing lexical hierarchy on for loops in #142
- depended by autocompletion/definition/references/rename APIs.
Full Changelog: v0.11.2...v0.11.3
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
v0.11.1
Editor
- Integrated Neovim support in #91
- docs: mention how to work with multiple-file projects in #108
- feat: add minimal Helix support in #107
Compiler
- (Fix) Always uses latest compiled document for LSP functions in #68
- (Fix) Converts EOF position correctly in #92
- Allowed running server on rootless files and loading font once in #94
- Uses positive system font config in #93 and #97
Syntax/Semantic Highlighting
- Provided correct semantic highlighting in #71
- Provided correct syntax highlighting in #77, #80, #85, and #109
- Colorizes contextual bracket according to Textmate scopes in #81
Commands/Tools
- Fixed two bugs during initializing template in #65
- Added SVG and PNG export in code lens context in #101
- Added tracing frontend in #98
- The frontend is implemented but there is trouble with the backend.
To use SVG/PNG export:
- click the code lens "Export as .." at the start of document:
- select one of export kind to export first page or all pages merged into one image:
Hover (Tooltip)
Misc
Full Changelog: v0.11.0...v0.11.1
v0.11.1-rc2
For testing nix pkg
v0.11.1-rc1
Prerelease for nix package testing
v0.11.0
v0.11.0 - [2024-03-17]
Commands/Tools
Commands/Tools (New)
- Added favorite function in template gallery in #61
- favorite or unfavorite by clicking a button.
- filter list by favorite state.
- get persist favorite state.
- run
initTemplate
command with favorite state.
- Initializing template in place is allowed in #62
- place the content of the template entry at the current cursor position.
Full Changelog: v0.10.3...v0.11.0
v0.10.3
Commands/Tools (New)
- Supported rest code lens in #45
- Preview (in
doc
mode andtab
target) - Preview in
doc
orslide
mode andtab
orbrowser
target - Export as PDF format
- Preview (in
- Added an initializing template command in #50
- Added a template gallery as template picker in #52
References (New)
Autocompletion
- Upgraded compiler for autocompleting package in #30
Definition/Rename
- Reimplemented definition analysis in #43
Inlay Hint
- Implemented inlay hint configuration in #37
- Disabled inlay hints on one line content blocks in #48
- Changed position of inlay hint params in #51
Misc
- Supported vscode variables in configurations, more testing, and validation in #53
- You can set root/server/font path(s) with vscode variables. The variables are listed in https://www.npmjs.com/package/vscode-variables.
Internal Optimization
- Deferred root resolution in #32
- Allowed fuzzy selection to deref targets in #46
- Implemented def-use analysis in #17, #19, #25, and #26
Full Changelog: v0.10.2...v0.10.3