tinymist/crates/tinymist-query
Yifan Song b4ecb7f14b
feat: complete on import item path (#949)
The import item path syntax was introduced in typst 0.12.0 and had ruin the completion on import items.

* fix: grandparent is ImportItems

Fix: for `import "lib.typ": tes|`, the parent syntax is import item
path, then parent is import items

* feat: identify syntax context in import list

* feat: check the path under cursor for import completion

* fix: adjust from correctly

* dev: remove useless log

* fix: the unknown font on windows

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-06 11:35:59 +08:00
..
src feat: complete on import item path (#949) 2024-12-06 11:35:59 +08:00
Cargo.toml test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00
README.md docs: write some developer guides (#372) 2024-07-07 11:26:35 +08:00

tinymist-query

Note: this crate is under development. it currently doesn't ensure stable APIs, and heavily depending on some unstable crates.

This crate provides a set of APIs to query the information about the source code. Currently it provides:

Documentation

See Crate Docs.

Also see Developer Guide: Tinymist Query.

Contributing

See CONTRIBUTING.md.