Myriad-Dreamin
05280aec4d
feat: bump edition of most crates to rust 2024 ( #2042 )
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
2025-08-18 16:48:41 +08:00
Myriad-Dreamin
14c7a92944
feat: rename labels ( #1858 )
...
tinymist::auto_tag / auto-tag (push) Has been cancelled
tinymist::gh_pages / build-gh-pages (push) Has been cancelled
tinymist::ci / Duplicate Actions Detection (push) Has been cancelled
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Has been cancelled
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Has been cancelled
tinymist::ci / prepare-build (push) Has been cancelled
tinymist::ci / announce (push) Has been cancelled
tinymist::ci / build (push) Has been cancelled
closes #549
2025-08-09 19:54:22 +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
04c013f3a4
dev: add Definition::file_id ( #1626 )
2025-04-04 16:08:38 +08:00
Myriad-Dreamin
e4a4fc568f
fix: correct rename on unix platforms caused by pathdiff#8 ( #1587 )
...
* fix: correct rename on unix platforms caused by pathdiff#8
* fix: ensure all calls to pathdiff
* fix: names
* fix: file path on windows
2025-03-26 12:46:33 +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
448ce484d8
fix: clippy error in rust 1.84 and deny warnings in CI ( #1178 )
...
* fix: clippy error in 1.84
* fix: deny warnings
* fix: clippy warnings and doc errors
* fix: warnings
* fix: warnings
* fix: warnings
* fix: compile error
2025-01-15 20:26:34 +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
Yifan Song
978e4d6f4e
fix: check file paths on renaming files ( #1080 )
2024-12-28 09:56:11 +08:00
Myriad-Dreamin
7dbaca8851
refactor: update names and documentation of matchers (cont.) ( #1033 )
2024-12-20 18:35:36 +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
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
644494b1dc
feat: rename links in files ( #869 )
2024-11-20 16:55:48 +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
7b0fb6036d
feat: issue import changes request during willRenameFiles ( #648 )
...
* feat: issue import changes request during `willRenameFiles`
* test: update snapshot
* fix: snapshot
2024-10-09 14:53:19 +08:00
Myriad-Dreamin
5ae003efcd
feat: rename modules by path ( #645 )
...
* dev: update new changes
* feat: rename modules
* dev: skip abs test
2024-10-09 14:22:23 +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
d774304574
feat: find definition of label references ( #235 )
...
* feat: find definition of label references
* dev: move dependencies declaration
* dev: remove serde_spanned
2024-05-05 18:53:18 +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
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
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
28fc0fc036
fix: missing typst-preview
2024-03-10 21:49:04 +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
a7b6c8caf1
feat: find syntax definition
2024-03-09 23:40:45 +08:00
Myriad-Dreamin
720c355a68
feat: support {,prepare}rename api
2024-03-09 00:59:39 +08:00