Commit graph

17 commits

Author SHA1 Message Date
Myriad-Dreamin
c22f70b49e
dev: refactor def and use cache for improving definition (#179)
* chore: add a notes to do.

* dev: cache def and use information

* dev: move signature cache to analysis level

* dev: refactor a bit for improving definition

* dev: more appropriate definition discover

* fix: clippy error
2024-04-11 20:45:02 +08:00
Myriad-Dreamin
d708bdfe2d
feat: complete parameters on user functions (#148)
* fix: skip tabs that have no uris for reopening pdf

* dev: lift call analysis

* feat: complete parameters on user functions
2024-04-02 17:12:20 +08:00
Myriad-Dreamin
76b4e91046
feat: allow running server with loading font once and on rootless files (#94)
* dev: change system config

* docs: update config doc

* dev: clean up tightly coupled world

* dev: load font once

* docs: add more comments to tinymist-query

* dev: merge compiler layers

* feat: allow run lsp on rootless files

* build: bump ts

* fix: workspace dep

* build: bump preview

* dev: correctly check inactive state

* fix: weird cargo default features
2024-03-26 10:33:56 +08:00
Myriad-Dreamin
14fc4819f1
feat: hover tooltip on functions (#76)
* dev: introduce upstream tooltip

* feat: basic function definition
2024-03-20 00:02:11 +08:00
Myriad-Dreamin
cc1f418423
dev: reduce a bundle of ts usage in query crate (#72) 2024-03-18 23:00:27 +08:00
Myriad-Dreamin
2fe992e933
dev: convert all syntax-level request and check main state before requesting (#67) 2024-03-18 17:36:43 +08:00
Myriad-Dreamin
9b7b4d7f56
dev: change position of inlay hint params (#51)
* dev: change position of inlay hint params

* dev: update test snapshot
2024-03-16 16:53:54 +08:00
Myriad-Dreamin
222681ca97
feat: disable inlay hints on one line content blocks (#48) 2024-03-16 10:22:10 +08:00
Myriad-Dreamin
5fa4f8f94f
feat: support query of cross-module references (#42)
* feat: support cross-module references by wild-card import

* feat: support cross-module references by ident import

* feat: support cross-module references by alias import

* docs: update readme

* dev: remove two debug printing
2024-03-15 15:43:42 +08:00
Myriad-Dreamin
61be2f78e4
feat: implement inlay hint configuration (#37)
* fix: unstable order of reference results

* feat: inlay hint configuration

* dev: test inlay hint on `lr`
2024-03-15 00:37:57 +08:00
Myriad-Dreamin
47a9b88c90
feat: add tests for inlay hints (#8) 2024-03-11 20:54:19 +08:00
Myriad-Dreamin
9c9fcd91ba feat: adapt to rust analyzer's server crate 2024-03-10 17:54:55 +08:00
Myriad-Dreamin
49244fe8df build: bump typst to 0.11.0-rc1 2024-03-10 03:45:13 +08:00
Myriad-Dreamin
964def25a9 fix: don't panic on bad node range 2024-03-08 21:13:22 +08:00
Myriad-Dreamin
f6d473f320 fix: source switch on primary node 2024-03-08 17:06:08 +08:00
Myriad-Dreamin
f599a607cd feat: analyze closure signatures 2024-03-08 16:11:33 +08:00
Myriad-Dreamin
3f647dbcd9 feat: initialize inlay hints v1 2024-03-08 14:01:45 +08:00