Commit graph

15 commits

Author SHA1 Message Date
Myriad-Dreamin
3469e215eb
dev: refactor semantic_tokens crate (#809)
* dev: move semantic_tokens crate

* dev: remove bad comment
2024-11-14 02:39:26 +08:00
Myriad-Dreamin
fc3099a27c
feat: lock and snapshot {analysis,token} caches on main thread (#806)
* refactor: hide lock in `query_snapshot`

* refactor: hide lock in `query_snapshot`

* test: update snapshot

* dev: update comments

* dev: update snapshot
2024-11-14 01:40:27 +08:00
Myriad-Dreamin
58b8015386
dev: refactor semantic token apis (#802) 2024-11-13 23:51:20 +08:00
Myriad-Dreamin
8a5d687da6
fix: bad rule to check function identifiers by syntax (#800) 2024-11-13 18:20:11 +08:00
Myriad-Dreamin
8ca953dbed
feat: identify identifier kind for semantic highlighting (#741)
* feat: identify identifier kind for semantic highlighting

* test: update snapshot
2024-10-29 10:52:41 +08:00
Myriad-Dreamin
b0f5398412
fix: pass to_multiline_tokens2 checking by copilot (#639)
* test: generate and pass sema_tokens sanity checking by copilot

* test: pass sema_tokens sanity checking

* dev: update snapshot
2024-10-07 11:58:48 +08:00
Myriad-Dreamin
dc6a4482c1
fix: ignore invalid tokens in typst's syntax tree (#605) 2024-09-20 13:59:15 +08:00
Myriad-Dreamin
8d753d8c56
fix: handle the conversion of offset at the EOF (#325)
* fix: handle the conversion of offset at the EOF

* fix: clippy error

* fix: snapshot
2024-06-15 03:37:39 +08:00
Myriad-Dreamin
90ef2e6f72
dev: improve punctuation and keyword token kinds (#133)
* dev: improve punctuation and keyword token kinds

* dev: improve punctuation and keyword token kinds
2024-03-30 20:04:34 +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
7e94c7d47c
feat: provides correct semantic highlighting (#71)
* dev: initialize highlight test

* dev: add more cases

* fix: overlapping token

* fix: multiple lines token
2024-03-19 01:20:22 +08:00
Myriad-Dreamin
50a4f1b5d4 feat: add the new context keyword 2024-03-11 16:05:04 +08:00
Myriad-Dreamin
9c9fcd91ba feat: adapt to rust analyzer's server crate 2024-03-10 17:54:55 +08:00
Myriad-Dreamin
0c7e67ed9a feat: forward const config 2024-03-07 16:12:49 +08:00
Myriad-Dreamin
9af8eb4b52 feat: create query crate 2024-03-07 13:35:45 +08:00
Renamed from crates/tinymist/src/semantic_tokens/mod.rs (Browse further)