Myriad-Dreamin
4f5c9c7735
feat: convert mode-aware snippets to static data ( #982 )
2024-12-11 13:58:08 +08:00
Myriad-Dreamin
3473fb88a5
refactor: rename code_exprs
crate to code_expr
( #981 )
2024-12-11 13:38:53 +08:00
Myriad-Dreamin
dd60ce5781
refactor: remove a closure in code lens solver ( #979 )
2024-12-11 11:26:32 +08:00
Myriad-Dreamin
10d72f139e
docs: documenting color expr worker ( #980 )
2024-12-11 11:04:08 +08:00
Myriad-Dreamin
dde3f5dff1
docs: rearrange and documenting cache structures ( #978 )
2024-12-11 11:03:58 +08:00
Myriad-Dreamin
678b2d2111
docs: split and documenting code action worker ( #977 )
...
* docs: split and documenting code action worker
* dev: update prelude
2024-12-11 11:03:47 +08:00
Myriad-Dreamin
0d4cd77d2c
docs: improve contributing and development guide ( #976 )
...
* docs: improve contributing and development guide
* wording
2024-12-10 22:30:25 +08:00
Myriad-Dreamin
c430e3d051
feat: type check labels with tolerating syntax error ( #975 )
...
* feat: type check labels with tolerating syntax error
* fix: naming
* fix: use and type
2024-12-10 18:49:06 +08:00
Myriad-Dreamin
2f882378bc
dev: complete labels with tolerating syntax error ( #974 )
2024-12-10 16:05:19 +08:00
Myriad-Dreamin
00195884de
test: add test about half-completed labels ( #973 )
...
* test: add test about half-completing labels
* space
2024-12-10 15:38:23 +08:00
Myriad-Dreamin
f665d7c50c
test: add test about path completion ( #972 )
2024-12-10 15:05:51 +08:00
Myriad-Dreamin
969cc6d339
refactor: complete paths without hacking ( #971 )
...
* refactor: complete paths without hacking
* dev: move code after refactor
2024-12-10 14:29:24 +08:00
Myriad-Dreamin
ab234634a9
fix: complete import path by syntax instead of type ( #968 )
...
* fix: complete import path by syntax instead of type
* test: add import package tests
* fix: unused item
2024-12-08 21:59:35 +08:00
Myriad-Dreamin
fee46d2123
fix: other two wrong usages of analyze_import
( #967 )
2024-12-08 21:33:53 +08:00
Myriad-Dreamin
2eddcbd87f
feat: check surrounding syntax when performing type completion ( #965 )
...
* feat: check surrounding syntax when performing type completion
* test: add testcases
2024-12-08 16:44:33 +08:00
Myriad-Dreamin
a54bc5d80c
feat: enrich all type completions consistently ( #964 )
2024-12-08 12:00:18 +08:00
Yifan Song
0464af6acf
fix: complete import items on spaces, colons, and commas ( #962 )
...
* fix: import item complete
* fix: cursor better than start
* fix: strengthen snapshot
* fix: cases on empty import list
* feat: matches on comma in import list
* test: simplify testcases and update snapshots
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-08 11:54:33 +08:00
Yifan Song
44b3f3f8c1
fix: simplify types of variables for hover tooltip ( #959 )
...
* feat: type for hover on var
* test: update snapshots for hover on params
* fix: simplify type before formatting
* test: update snapshot
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-07 19:32:40 +08:00
Myriad-Dreamin
9efc3d55d5
fix: typos in tinymist-query
( #956 )
2024-12-07 11:25:34 +08:00
Myriad-Dreamin
22d2ed88a3
fix: don't complete import items across line ( #952 )
2024-12-06 13:29:21 +08:00
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
Myriad-Dreamin
a7f203a31c
fix: don't assert well-formed named parameters in docstring ( #948 )
2024-12-05 16:10:27 +08:00
Myriad-Dreamin
d5c07b1ae3
refactor: move entry resolver to query crate ( #944 )
2024-12-04 13:13:26 +08:00
Myriad-Dreamin
356fc2daad
refactor: reduce state and add tests ( #943 )
2024-12-04 11:45:26 +08:00
Myriad-Dreamin
00aecd9eae
refactor: split entry resolver ( #942 )
...
* refactor: split entry resolver
* refactor: naming
2024-12-04 11:05:28 +08:00
Myriad-Dreamin
c0d20cd1b2
refactor: make shared root paths ( #929 )
2024-12-04 06:44:55 +08:00
Myriad-Dreamin
ace3df5409
feat: dynamic analyze import source for star imports ( #935 )
2024-12-03 17:02:54 +08:00
Myriad-Dreamin
e8b8188c1f
fix: convert two touched panics to log::warn
in signature checker ( #934 )
2024-12-03 17:02:40 +08:00
Myriad-Dreamin
b38e9bdf0e
feat: resolve module references in import at syntax level ( #933 )
2024-12-03 16:15:48 +08:00
Myriad-Dreamin
3c98d574a2
feat: provide elementary font view ( #932 )
...
* dev: font view
* dev: tune functionality
* dev: add a todo
2024-12-03 12:20:27 +08:00
Myriad-Dreamin
d9717fffa2
test(ci): add fmt, clippy, doc, and msrv tests to CI ( #926 )
...
* test(ci): add fmt, clippy, doc, and msrv tests to CI
* test(ci): check and build typst-preview
* fix: checks
2024-12-02 20:28:29 +08:00
Myriad-Dreamin
e1a5f0cdd7
dev: remove unused typst-kit ( #924 )
2024-12-02 18:08:26 +08:00
Myriad-Dreamin
032c81e93a
feat: add package related arguments to typstExtraArgs ( #923 )
...
* feat: use typst-kit's package functions
* feat: add package related arguments to `typstExtraArgs`
* feat: don't use typst-kit's downloader
* dev: improve a bit
* dev: less lazy
* dev: less interfaces
2024-12-02 17:47:28 +08:00
Myriad-Dreamin
531b8d6737
feat: check interface of all scope-like values ( #920 )
...
* feat: check interface of all scope-like values
* test: update snapshot
2024-11-30 23:24:22 +08:00
Myriad-Dreamin
63b31c6186
feat: convert values in builtin modules to definition ( #919 )
2024-11-30 23:05:00 +08:00
Myriad-Dreamin
982c430338
test: add tests about signature help ( #917 )
2024-11-30 22:50:58 +08:00
Myriad-Dreamin
d4141c8e74
fix: detect surrounding syntax of argument lists in show rule ( #914 )
2024-11-29 20:21:28 +08:00
Myriad-Dreamin
692e53880b
dev: deduplicate type bounds early ( #913 )
...
* case: package subpar:0.2.0
2024-11-29 20:04:35 +08:00
Myriad-Dreamin
ed79045588
dev: disable all runtime check to log::debug!
( #912 )
2024-11-29 19:52:42 +08:00
Myriad-Dreamin
b8f65cf2ec
fix: clippy warnings in rust 1.83 ( #907 )
2024-11-29 14:50:22 +08:00
Myriad-Dreamin
6d5c353fc0
fix: replace separator of type check snapshots from '---' to '=====' ( #903 )
2024-11-26 20:32:45 +08:00
Caleb Maclennan
6f4aba4aa8
chore: Fix typos throughout code base (automatic)
...
This is all the typos that `typos` is confident can just be fixed
automatically, minus the overrides added to the manifest for the false
positives I found.
2024-11-25 09:26:53 +08:00
Myriad-Dreamin
e1848488f0
revert: undo "feat: add package related arguments to typstExtraArgs ( #832 and #833 )" ( #891 )
...
* Revert "fix: cross build with `vendor-openssl` feature and bump version to 0.12.4-rc2 (#884 )"
This reverts commit 254c4ce087
.
* Revert "feat: add package related arguments to `typstExtraArgs` (#833 )"
This reverts commit 8e36f25cf2
.
* Revert "feat: use typst-kit's package functions (#832 )"
This reverts commit d2afe78fee
.
* build: bump version to 0.12.4-rc3
* docs: update changelog
2024-11-23 14:17:40 +08:00
Myriad-Dreamin
254c4ce087
fix: cross build with vendor-openssl
feature and bump version to 0.12.4-rc2 ( #884 )
...
* fix: cross build with `vendor-openssl` feature
* build: bump version to 0.12.4-rc2
2024-11-22 17:53:09 +08:00
Myriad-Dreamin
422971c8b6
fix: skip code completion when editing length ( #882 )
2024-11-22 16:15:40 +08:00
Myriad-Dreamin
94ea230645
feat: add code action to wrap content blocks ( #881 )
2024-11-22 16:03:07 +08:00
Myriad-Dreamin
3207f57a78
feat: add more postfix snippets ( #880 )
2024-11-22 15:39:59 +08:00
Myriad-Dreamin
67e659a878
feat: prefer to guide coding by signature help ( #874 )
...
* feat: prefer to guide coding by signature help
* test: update markdown description
* test: update configuration for testing
2024-11-21 13:14:58 +08:00
Myriad-Dreamin
1ba6b6c1e0
test: update snapshots in legacy format ( #873 )
2024-11-21 12:55:57 +08:00
Myriad-Dreamin
a13c8e41ba
fix: replace []
with .bracket
in label ( #870 )
...
* fix: replace `[]` with `.bracket` in label
* test: update snapshot
2024-11-20 20:46:03 +08:00