tinymist/crates/tinymist-query/src
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
..
adt fix: clippy warnings in rust 1.83 (#907) 2024-11-29 14:50:22 +08:00
analysis fix: don't assert well-formed named parameters in docstring (#948) 2024-12-05 16:10:27 +08:00
docs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
fixtures feat: complete on import item path (#949) 2024-12-06 11:35:59 +08:00
syntax feat: dynamic analyze import source for star imports (#935) 2024-12-03 17:02:54 +08:00
ty feat: check interface of all scope-like values (#920) 2024-11-30 23:24:22 +08:00
upstream feat: complete on import item path (#949) 2024-12-06 11:35:59 +08:00
analysis.rs fix: clippy warnings in rust 1.83 (#907) 2024-11-29 14:50:22 +08:00
code_action.rs chore: Fix typos throughout code base (automatic) 2024-11-25 09:26:53 +08:00
code_context.rs feat: provide elementary font view (#932) 2024-12-03 12:20:27 +08:00
code_lens.rs refactor: refactor hover, analysis/global, and docs crates (#755) 2024-10-31 10:07:31 +08:00
color_presentation.rs dev: refactor tasks (#411) 2024-07-14 17:40:01 +08:00
completion.rs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
diagnostics.rs dev: convert diagnostics without analysis snapshot (#805) 2024-11-13 23:51:48 +08:00
document_color.rs refactor: refactor hover, analysis/global, and docs crates (#755) 2024-10-31 10:07:31 +08:00
document_highlight.rs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
document_link.rs dev: cache link expressions (#866) 2024-11-20 16:24:12 +08:00
document_metrics.rs fix: clippy warnings in rust 1.83 (#907) 2024-11-29 14:50:22 +08:00
document_symbol.rs feat: provide package view and local documentation (#596) 2024-09-12 21:17:07 +08:00
entry.rs refactor: move entry resolver to query crate (#944) 2024-12-04 13:13:26 +08:00
folding_range.rs refactor: reduce source cache and mutability (#693) 2024-10-16 23:17:52 +08:00
goto_declaration.rs refactor: refactor hover, analysis/global, and docs crates (#755) 2024-10-31 10:07:31 +08:00
goto_definition.rs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
hover.rs dev: cache link expressions (#866) 2024-11-20 16:24:12 +08:00
inlay_hint.rs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
jump.rs refactor: add compatibility for typst_syntax::LinkedNode.leaf_at (#582) 2024-09-08 22:10:01 +08:00
lib.rs refactor: move entry resolver to query crate (#944) 2024-12-04 13:13:26 +08:00
lsp_typst_boundary.rs refactor: refactor hover, analysis/global, and docs crates (#755) 2024-10-31 10:07:31 +08:00
on_enter.rs feat: fully support onEnter edits inside comments (#823) 2024-11-14 22:21:14 +08:00
package.rs feat: add package related arguments to typstExtraArgs (#923) 2024-12-02 17:47:28 +08:00
prelude.rs refactor: refactor hover, analysis/global, and docs crates (#755) 2024-10-31 10:07:31 +08:00
prepare_rename.rs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
references.rs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
rename.rs dev: disable all runtime check to log::debug! (#912) 2024-11-29 19:52:42 +08:00
selection_range.rs refactor: add compatibility for typst_syntax::LinkedNode.leaf_at (#582) 2024-09-08 22:10:01 +08:00
semantic_tokens_delta.rs dev: refactor semantic_tokens crate (#809) 2024-11-14 02:39:26 +08:00
semantic_tokens_full.rs dev: refactor semantic_tokens crate (#809) 2024-11-14 02:39:26 +08:00
signature_help.rs feat: convert values in builtin modules to definition (#919) 2024-11-30 23:05:00 +08:00
symbol.rs refactor: refactor hover, analysis/global, and docs crates (#755) 2024-10-31 10:07:31 +08:00
tests.rs feat: add package related arguments to typstExtraArgs (#923) 2024-12-02 17:47:28 +08:00
will_rename_files.rs refactor: refactor hover, analysis/global, and docs crates (#755) 2024-10-31 10:07:31 +08:00
workspace_label.rs dev: clean up log to print (#818) 2024-11-14 21:21:47 +08:00