Myriad-Dreamin
8f0d9c25d7
feat: re-identify ref colon syntax and perform IDE operations ( #1735 )
...
* test: add cases about ref syntax
* feat: re-identify ref syntax and perform IDE operations
2025-05-03 19:03:07 +08:00
Myriad-Dreamin
ac506dcc31
refactor: move expr and ty defs to analysis crate ( #1633 )
2025-04-08 05:50:55 +08:00
Myriad-Dreamin
d4fffe3543
fix: resolve relative path in subfolders ( #1574 )
2025-03-26 11:10:51 +08:00
Myriad-Dreamin
10ec787cc9
dev: stateful requests now accept snapshot ( #1581 )
...
* dev: stateful requests now accept snapshot
* dev: add some convenient methods
* dev: remove unused latest_doc state
* dev: use graph
* docs: comment
* fix: bad flag
2025-03-25 16:28:00 +08:00
Myriad-Dreamin
56714675b7
feat: encode and use workspace information into PackageSpec ( #1187 )
...
* feat: remove an unused API
* feat: encode workspace information into `PackageSpec`
* feat: remove unused real_path
* feat: remove unused mtime
* feat: add ResolveAccessModel
* feat: implement id overlay semantics
* feat: remove mtime checking in overlay model
* feat: remove mtime checking in notify model
* feat: format ids
* fix: cases
* feat: resolve root by world
* dev: add untitled root
* fix: warnings
* fix: a wrong usage
* fix: snapshots
* fix: tests
2025-01-19 11:51:00 +08:00
Myriad-Dreamin
6180e343e0
feat: move world implementation ( #1183 )
...
* feat: move world implementation
* dev: remove vector ir
* fix: errors
* fix: clippy
* fix: don't build world in web
* fix: unused patches
* fix: fmt
* fix: docs example
* fix: doc examples
2025-01-19 08:25:35 +08:00
Myriad-Dreamin
faf807edb2
feat: prefer to select the previous token when cursor is before a marker ( #1175 )
...
* feat: prefer to select the previous token when cursor is before a marker
* test: update snapshot
2025-01-15 14:33:26 +08:00
Myriad-Dreamin
f43a8e116c
feat: add depended_{paths,{source_,}files} methods ( #1150 )
2025-01-11 17:44:23 +08:00
Myriad-Dreamin
de8e45a539
refactor: rename local variables (cont.) ( #1026 )
2024-12-18 19:48:34 +08:00
Myriad-Dreamin
be1d659719
refactor: rename local variables and some types ( #1023 )
...
* fix: naming
* refactor: rename local variables and some types
2024-12-18 19:23:31 +08:00
Myriad-Dreamin
ad0c1e8aca
refactor: improving names of matched structs and documenting matchers ( #1022 )
2024-12-18 16:35:15 +08:00
Myriad-Dreamin
2f882378bc
dev: complete labels with tolerating syntax error ( #974 )
2024-12-10 16:05:19 +08:00
Myriad-Dreamin
ed79045588
dev: disable all runtime check to log::debug! ( #912 )
2024-11-29 19:52:42 +08:00
Myriad-Dreamin
b8f65cf2ec
fix: clippy warnings in rust 1.83 ( #907 )
2024-11-29 14:50:22 +08:00
Myriad-Dreamin
18c6cdd9d4
feat: add search index to quickly filter unrelated files ( #864 )
2024-11-20 16:14:32 +08:00
Myriad-Dreamin
8f3566366e
refactor: refactor hover, analysis/global, and docs crates ( #755 )
...
* dev: refactor hover.rs
* refactor refactor AnalysisContext
* refactor: refactor docs crate
2024-10-31 10:07:31 +08:00
Myriad-Dreamin
1c1bc19caf
dev: more consistent way to get docs of decls ( #752 )
...
* dev: more consistent way to get docs of decls
* test: update snapshot
2024-10-30 22:29:07 +08:00
Myriad-Dreamin
81ebc8a635
feat: implement expression checker ( #714 )
...
* feat: implements expression checker
* dev: resolve information
* dev: delete def_use
* stage
* stage
* stage
* stage concurrent
* stage concurrent
* dev: better concurrency
* dev: final constant evaluation improvement
* dev: change reference site
* dev: handle comments
* dev: remove indirect import structure
* dev: adjust linked_def impl
* dev: finalize goto definition impl
* dev: replace all old import and def_use analyses with expr analysis
* dev: update expr_of snapshots
* dev: split def/expr, refactor definition
* dev: more consistent definition solver
* dev: rename definition crate
* dev: references work again
* dev: resolve root decl
* dev: resolve root decl
* dev: resolve global definitions
* dev: resolve tokens with world
* feat: render semantic tokens with expression information
* dev: loop detection
* dev: recover type checking
* dev: recover more type checking
* dev: refactor analysis context
* fix: process case of spread left
* dev: label inference
* dev: recover more signature checking
* dev: recover more ident reference checking
* dev: pass all tests
* Revert "dev: dirty changes"
This reverts commit 9ae2dacd0c96851e088feea76c61c184a1cf9722.
* test: update snapshot
* fix: bad cached signatures
* fix: slash problem
2024-10-25 23:52:11 +08:00
Myriad-Dreamin
9f9c710906
fix: deadlock when iterating dependencies ( #568 )
2024-08-27 14:49:58 +08:00
Myriad-Dreamin
fbd22d2601
build: bump typst.ts to v0.5.0-rc7 ( #554 )
...
* dev: sync typ_server code
* build: bump typst.ts to v0.5.0-rc7
2024-08-25 17:43:54 +08:00
Yifan Song
1295c8754a
feat: find references for Ref and Label ( #527 )
...
* add test for `goto_definition` with label reference
* simplify test for `goto_definition` with reference
* abstract compile doc for test
* add snap for goto_definition label reference
* basic goto_reference with simple test
* basic find_reference for Ref
* fix: a bug in linked def
* Remove unwanted compile directive compile: true
* simply compile and get depended files fail for corss_file_ref_label
* update ref reference but still fail to get source from path
* fix: reuse find definition effort and handle undefined references for labels
* dev: update test case
* fix: label reference analysis
* fix: rust analyzer doing bad
* dev: update snapshot
* dev: lift common pattern
* fix: unstable snapshot
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-08-14 09:21:44 +08:00
Myriad-Dreamin
1bbf800643
test: add rename testing ( #448 )
2024-07-22 14:29:53 +08:00
Myriad-Dreamin
e2b7bc4b56
refactor: introduce uri_for_id and deref_syntax_at ( #267 )
...
* dev: add documentation
* refactor: introduce uri_for_id and deref_syntax_at
2024-05-09 12:32:20 +08:00
Myriad-Dreamin
987a7da867
feat: complete arguments enhanced by type inference ( #186 )
...
* auto complete code in param position
* dev: initial path completion in params
* fix: compile error
* remove two todo
* dev: improve get_deref_target
* check string during completion
* feat: complete path arguments
* feat: identify hash before function follows a content parameter
* dev: complete text.size, text.dir, stack.dir, stroke dict
* dev: add record type
* dev: complete stroke dict
* fix: correct kind of langauge of code tooltip
* dev: add colon trigger character
* dev: let type selection complete
* dev: complete inset/outset/margin/radius dictionary types
* dev: complete raw theme/syntaxes, bib path types
* dev: complete all files at the same time
* dev: update snapshot
2024-04-15 00:17:54 +08:00
Myriad-Dreamin
1c5c6bd929
feat: go to definition of include paths ( #156 )
2024-04-04 11:11:23 +08:00
Myriad-Dreamin
529b422189
feat: support untitled url scheme for unsaved documents ( #120 )
2024-03-29 15:26:46 +08:00
Myriad-Dreamin
4d21026661
dev: more accurate deref target ( #104 )
2024-03-26 11:40: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
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
da7028f59c
dev: reimplements definition analysis ( #43 )
...
* dev: reimplements definition based on def use analysis
* dev: reimplements lsp apis based on new definition api
* fix: most cases of references
* fix: scope of params
2024-03-15 22:05:53 +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
fe25933d0e
dev: implements module dependencies analysis ( #41 )
2024-03-15 14:33:14 +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
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