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
Wenzhuo Liu
9dd14d0232
build: bump typstyle to v0.12.8 ( #961 )
2024-12-08 09:48:12 +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
4a236e88cd
build: bump version to 0.12.10 ( #960 )
...
* docs: update changelog
* wording
* build: bump version to 0.12.0
2024-12-07 15:39:32 +08:00
Myriad-Dreamin
5dd9badc11
build: bump version to 0.12.10-rc1 ( #957 )
...
* docs: update changelog
* build: bump version to 0.12.10-rc1
* wording
2024-12-07 12:30:34 +08:00
Myriad-Dreamin
b73bafd269
build: bump dependencies ( #954 )
2024-12-07 11:29:13 +08:00
Myriad-Dreamin
9efc3d55d5
fix: typos in tinymist-query
( #956 )
2024-12-07 11:25:34 +08:00
Myriad-Dreamin
0d40da4ada
docs: add docs to cargo patches ( #955 )
...
* docs: add docs to cargo patches
* wording
* hint
2024-12-07 11:24:27 +08:00
Myriad-Dreamin
22d2ed88a3
fix: don't complete import items across line ( #952 )
2024-12-06 13:29:21 +08:00
Myriad-Dreamin
9b3eaf9926
fix: bind this to showLog function ( #951 )
2024-12-06 11:36:55 +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
27460a9c53
build: bump version to 0.12.8 ( #940 )
...
* build: bump version to 0.12.8
* fix: bump versions in package.json files
2024-12-03 22:27:57 +08:00
Myriad-Dreamin
d88cd90899
build: bump version to 0.12.6 ( #939 )
...
* docs: update changelog
* build: bump version to 0.12.6
2024-12-03 20:32:14 +08:00
Myriad-Dreamin
7efbaf35d2
build: bump version to 0.12.6-rc3 ( #938 )
...
* docs: update changelog
* build: bump version to 0.12.6-rc3
2024-12-03 17:28:57 +08:00
Myriad-Dreamin
c6fcfb4d96
docs: maintain editor docs ( #937 )
...
* docs: maintain editor docs
* docs: maintain editor docs (cont.)
2024-12-03 17:16:27 +08:00
Myriad-Dreamin
62c91b5286
feat: provide tool view ( #936 )
2024-12-03 17:16:08 +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
Yifan Song
672a95c908
feat: search in template gallery ( #922 )
...
* feat: Search Gallery by name
* dev: use minisearch
* feat: highlight search
* feat: all query terms for highlight
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-03 12:23:34 +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
fb98a7102a
build: bump version to 0.12.6-rc2 ( #930 )
...
* build: bump version to 0.12.6-rc2
* dev: reformat
* chore: update date to publish
2024-12-02 22:47:42 +08:00
Wenzhuo Liu
0001121432
build: bump typstyle to v0.12.6 ( #928 )
2024-12-02 22:02:41 +08:00
Myriad-Dreamin
0ded9e7d79
test(ci): also run tests on windows ( #925 )
...
* test(ci): also runs tests on windows and macos
* dev: remove tests on macos
2024-12-02 20:28:51 +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
1a41dfeb2d
build: bump version to 0.12.6-rc1 ( #915 )
...
* docs: update changelog
* build: bump version to 0.12.6-rc1
* fix: wording
2024-11-30 16:30:36 +08:00
Wenzhuo Liu
e158ba63fc
chore: bump typstyle to v0.12.4 ( #904 )
2024-11-30 16:10:39 +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
8b495fe2ab
feat: recursively parse markup link according to typst syntax ( #911 )
2024-11-29 15:43:38 +08:00
Myriad-Dreamin
6fa07b6777
fix: stop show until new line or code terminator ( #910 )
2024-11-29 15:31:02 +08:00
Myriad-Dreamin
adef0381be
fix: continue parsing expression on func/method call ( #909 )
2024-11-29 15:30:51 +08:00
Myriad-Dreamin
5423976278
fix: stop import-as clause before colon ( #908 )
2024-11-29 15:17:00 +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
Myriad-Dreamin
f75dc17e02
fix: rollback typo fixes in tokyo-hight.tmTheme
( #899 )
2024-11-26 16:37:57 +08:00
Wenzhuo Liu
e189b46be5
build: bump typstyle to v0.12.3 ( #893 )
...
* chore: bump typstyle to v0.12.2
* chore: keep changelog
2024-11-26 16:37:40 +08:00
Myriad-Dreamin
b3573029cc
fix: match braces in math mode as content ( #901 )
2024-11-25 13:14:36 +08:00