Skip to content

Releases: Myriad-Dreamin/tinymist

v0.11.6

27 Apr 02:52
9767e33
Compare
Choose a tag to compare

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

20 Apr 11:36
786814b
Compare
Choose a tag to compare

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:
    image


    completing text.region with the iso 3166-1 alpha-2 table:
    image

  • Completing array/tuple literals in #201

    • New array types completed: columns/ros/gutter/column-gutter/row-gutter/size/dash on various functions
      image
  • Completing function arguments on signatures inferred by type checking in #203
    image

  • Completing function arguments of func.where and func.with by its method target (this) in #204
    image

  • Completing functions with where/with snippets in #206
    image

Inlay Hint

  • (Fix) Checking variadic/content arguments rules of inlay hints correctly in #202

    image

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

14 Apr 17:41
68ce470
Compare
Choose a tag to compare

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

    And more values is shown in following screenshot:

    image

    • Autocompleting all positional arguments with more appropriate types.
      image
    • Autocompleting the path parameter on cbor/csv/image/read/read/json/yaml/xml/toml/raw.theme/raw.syntaxes/bibliography functions
      06b340b72787fc2213931249ad60f3a2
    • 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

Syntax/Semantic Highlighting

  • Provided better grammar on incomplete heading in #187

Misc

Full Changelog: v0.11.3...v0.11.4

v0.11.3

06 Apr 11:49
da70c0d
Compare
Choose a tag to compare

Editor

  • (Fix) Skipped tabs that have no URIs for reopening pdf in #147

Compiler

  • Evicting cache more frequently in #161
  • (Fix) Collecting warning diagnostics correctly in #169

Commands/Tools

image

  • Introduced symbol picker in #155

image

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

image

  • 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

30 Mar 15:04
b635f06
Compare
Choose a tag to compare

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 use pin 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

    1. Press Ctrl + N to create an untitled text document.
    2. Change language of buffer to typst

    image

    1. You can write and preview temporary content without saving to disk:

    image

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" for typstyle 0.11.7
    • Use "formatterMode": "typstfmt" for typstfmt 0.2.9
  • 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

image

Hover (Tooltip)

  • fix: parse docstring dedents correctly in #132

Full Changelog: v0.11.1...v0.11.2

v0.11.1

27 Mar 02:32
Compare
Choose a tag to compare

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

image

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:

  1. click the code lens "Export as .." at the start of document:
    image
  2. select one of export kind to export first page or all pages merged into one image:
    image

Hover (Tooltip)

  • Provided hover tooltip on user functions in #76
  • Parses comments for hover tooltip in #78 and #105

image

Misc

  • Provided DHAT instrumenting feature for heap usage analysis in #64
  • Disabled LTO in #84

Full Changelog: v0.11.0...v0.11.1

v0.11.1-rc2

20 Mar 10:26
13e3562
Compare
Choose a tag to compare
v0.11.1-rc2 Pre-release
Pre-release

For testing nix pkg

v0.11.1-rc1

20 Mar 09:43
a3948df
Compare
Choose a tag to compare
v0.11.1-rc1 Pre-release
Pre-release

Prerelease for nix package testing

v0.11.0

17 Mar 11:52
cfca8b1
Compare
Choose a tag to compare

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

16 Mar 17:00
3c37ce1
Compare
Choose a tag to compare

Commands/Tools (New)

  • Supported rest code lens in #45
    • Preview (in doc mode and tab target)
    • Preview in doc or slide mode and tab or browser target
    • Export as PDF format
  • Added an initializing template command in #50
  • Added a template gallery as template picker in #52

References (New)

  • Find/Goto syntactic references in #34 and #42

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

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