Myriad-Dreamin
2a42ff67f5
build: bump version to 0.12.12-rc1 ( #1000 )
...
* build: bump version to 0.12.12-rc1
* docs: add changelog
* docs: update reference in changelog
2024-12-15 14:36:09 +08:00
Yifan Song
c54d1d31cb
feat: jump to neareast position in preview from cursor ( #997 )
...
* return multiple positions from jump_to_cursor
* format
* remove an alert
* add a simple doc for jump test
* feat: resolve currentPosition
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-14 16:49:23 +01:00
Wenzhuo Liu
cb3b648fcb
chore: bump typstyle to v0.12.10 ( #987 )
2024-12-14 14:59:04 +08:00
汐
b18c3ca71c
fix: compatibility for some old chromium core ( #995 )
...
* fix: compatibility for some old chromium core
* feat: resolve relative URL manually
* dev: revert the change
* dev: add some comment
* fix: wrong regrex in 50228956
* dev: upgrade version to use
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-14 14:41:28 +08:00
Yifan Song
b19810ea6f
feat: add in postfix snippet ( #963 )
2024-12-12 15:01:55 +08:00
Myriad-Dreamin
511ec2b5a8
feat: configure word separator and pattern specific for typst ( #990 )
...
* feat: configure word separator and pattern specific for typst
* dev: async and catch
2024-12-12 14:23:52 +08:00
Myriad-Dreamin
382d73ddeb
refactor: remove inlay_hint function for simplicity ( #992 )
...
* refactor: remove `inlay_hint` function for simplicity
* test: update snapshots of inlay hints
* test: update snapshot
2024-12-12 14:21:04 +08:00
Myriad-Dreamin
ca3c29fc2d
docs: rename link_exprs crate to link_expr ( #991 )
2024-12-12 13:48:04 +08:00
Myriad-Dreamin
57e209f7e0
docs: split and documenting document highlight worker ( #989 )
2024-12-12 13:26:01 +08:00
Myriad-Dreamin
5747dd6ba6
feat: explicitly trigger suggest after completed import/include snippets ( #984 )
...
* feat: explicitly trigger suggest on completing import/include snippets
* fix: comment
* test: update snapshot
2024-12-11 14:40:57 +08:00
Myriad-Dreamin
a86f7a494a
perf: prefetch package index for completion ( #983 )
2024-12-11 14:05:52 +08:00
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
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