github Myriad-Dreamin/tinymist v0.12.2

latest releases: v0.14.16, v0.14.16-rc1, v0.14.14...
17 months ago

Announcement: New Maintainers

We are going to add maintainers on GitHub since 2024-11-22 (in 7 days):

Please reply in PRs or DM @Myriad-Dreamin if you have any concerns about adding these maintainers to list.

Docs

image

Editor

  • {En,De}coding base-64 strings with Text{De,En}coder in #719 and #774
  • Removed outdated typst.tmLanguage.json in #725
  • Disabling unicode bracket pair autocompletion in #726
    • This is a degradation, as discussed in #723
  • Added preview icon when clicking outside the document by @supersurviveur in #734

Compiler

  • Implemented expression checker in #714, #736, #756, #759, #773, #775, #777, #798, #801, #815, and #822
    • This is a high-level IR for various analyses above AST, e.g. type checking.
  • Improved ways of checking docstring in #752, #755
  • Locking and taking snapshot {analysis,token} caches on main thread in #806, #817, and #819
  • (Fix) Rendered bitmap and svg glyphs correctly in #745
    • This is broken by update typst to v0.12.0.
  • (Fix) Ensuring expression and type enums are not too big correctly in #811

Commands/Tools

  • Added tinymist query checkPackage command in #742
  • (Fix) Corrected word count when empty line exists by @Eric-Song-Nop in #795
  • (Fix) Corrected usage of /package/symbol in package view in #820
  • (Fix) Querying file type with following symbolic links when listing packages in #821
    • Previously, some directories are not identified because they are behind symbolic links.
  • Showing performance statistics in summary page in #743
    image
  • Completed symbol classification in handwriting recognizer by @summerBreeze03 in #705
    image

Docstring

  • Strictly matching module-level comments in #770

    • Previously both // Docs and /// Docs at the start of some file are regarded as docs of the module (file). However, this is not great because people also usually put shebangs and license information in comments.

    Example:

    // License: Apache 2.0
    /// Some Module Docs.

    The exact documentation of the module should be Some Module Docs. instead of License: Apache 2.0\nSome Module Docs.

  • Rendering examples in docs in #772
    image

  • Emitting errors into docs instead of causing failures in #786
    image

  • Striping out the line containing the return type in #803

Hover (Tooltip)

  • Providing documentation when hovering on module references in #751
    image
  • Improved style of parameter documentation in #813
    • We followed typescript's docs style but it is not pretty. Now we follow scala's docs style, which uses headings to separate parameter docs.
      image
  • Conditionally rendering code in documentation in #824
    • There is a supportHtmlInMarkdown configuration item that controls whether to render equation and remove html in contents. The configuration item is not a user configuration, but for lsp client developers (people who are knowledgeable to configure editors).
    • on VS Code, contents are rendered and embedded as images:
      image
    • on rest clients that aren't aware of supportHtmlInMarkdown, no HTML is embedded in the responding contents:
      image

Completion

  • (Fix) Client-side controlling to whether issue completion callback in #744
  • (Fix) Matching all identifier-like nodes for completion in #747
  • Avoiding trivial completion when the trigger char is an ascii punctuation in #748
  • Added more completion tests in #776
  • Consistently enriching colon after show selectors in #785

Syntax/Semantic Highlighting

Signature Help

  • Improved style of signature docs in #750

Preview

  • (Fix) Bidirectionally jumping if page.fill is set in #728
    • This is broken by update typst to v0.12.0.

On Enter

  • Fully supported onEnter edits inside comments in #823
    • Working with selection with range for all clients.
    • Working with selection with multiple cursors for VS Cod{e,ium} client.

Misc

  • Uploading test snapshot and log for debugging in #760 and #787
  • Added time limit argument to language server's replay command in #816

Full Changelog: v0.12.0...v0.12.2

Don't miss a new tinymist release

NewReleases is sending notifications on new releases.