tinymist/crates
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
..
sync-lsp test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00
tinymist refactor: move entry resolver to query crate (#944) 2024-12-04 13:13:26 +08:00
tinymist-analysis test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00
tinymist-assets test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00
tinymist-derive test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00
tinymist-query feat: complete on import item path (#949) 2024-12-06 11:35:59 +08:00
tinymist-render test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00
tinymist-world feat: provide elementary font view (#932) 2024-12-03 12:20:27 +08:00
typlite feat: provide elementary font view (#932) 2024-12-03 12:20:27 +08:00
typst-preview test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00
typst-shim test(ci): add fmt, clippy, doc, and msrv tests to CI (#926) 2024-12-02 20:28:29 +08:00