Commit graph

75 commits

Author SHA1 Message Date
Myriad-Dreamin
d4dda9e06f
feat: support formatters (#113)
* feat: supports formatter

* feat: supports dynamic configuration and typstfmt

* fix: test
2024-03-28 16:28:00 +08:00
Myriad-Dreamin
413c2e8deb
feat: add svg and png export (#101) 2024-03-26 11:25:46 +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
2d2857e6f3
docs: refactor and documenting analyzer code (#44)
* dev: refactor and documenting analyzer code

* dev: documenting some lsp api
2024-03-16 02:54:56 +08:00
Myriad-Dreamin
c88e37ffba
dev: create tests module (#40) 2024-03-15 14:03:23 +08:00
Myriad-Dreamin
dbd1726d08
feat: support goto/find references inside of modules (#34)
* feat: support goto declaration inside of modules

* fix: change goto declarations provider to references provider

* fix: redact uri in references response
2024-03-14 20:38:30 +08:00
Myriad-Dreamin
9d344570b4
dev: borrow the document state inside of compiler (#33) 2024-03-14 20:37:14 +08:00
Myriad-Dreamin
f7860bd4b7
feat: add def use analysis for external items (#26)
* feat: add def use analysis for external items

* fix: recursive import wildcard
2024-03-13 15:05:52 +08:00
Myriad-Dreamin
32d74194c0
dev: move snaps (#20)
* dev: move snaps

* build: update cargo.lock
2024-03-12 14:10:24 +08:00
Myriad-Dreamin
1a05e4274c
feat: add def use analysis inside of module (#19)
* dev: add snapshot map

* feat: add def use analysis inside of module
2024-03-12 14:09:48 +08:00
Myriad-Dreamin
ee131ac68a
feat: analyze lexical hierarchy for def-use relations (#17) 2024-03-12 12:24:53 +08:00
Myriad-Dreamin
47a9b88c90
feat: add tests for inlay hints (#8) 2024-03-11 20:54:19 +08:00
Myriad-Dreamin
e714ab462f feat: fix show pdf and add export pdf code lens 2024-03-11 13:22:55 +08:00
Myriad-Dreamin
279bead9e1 test: base snapshot testing for goto definition 2024-03-09 23:43:12 +08:00
Myriad-Dreamin
720c355a68 feat: support {,prepare}rename api 2024-03-09 00:59:39 +08:00
Myriad-Dreamin
788792f202 feat: consider context free requests 2024-03-08 18:48:20 +08:00
Myriad-Dreamin
f6d473f320 fix: source switch on primary node 2024-03-08 17:06:08 +08:00
Myriad-Dreamin
3f647dbcd9 feat: initialize inlay hints v1 2024-03-08 14:01:45 +08:00
Myriad-Dreamin
5f4c55516a chore: remove redundant code 2024-03-08 01:00:34 +08:00
Myriad-Dreamin
c19197178c feat: support goto_definition api 2024-03-08 00:51:18 +08:00
Myriad-Dreamin
bc6e981e81 feat: support folding_range api 2024-03-07 21:34:47 +08:00
Myriad-Dreamin
22a68003fc feat: nested document symbols 2024-03-07 19:31:24 +08:00
Myriad-Dreamin
9af8eb4b52 feat: create query crate 2024-03-07 13:35:45 +08:00