Myriad-Dreamin
9904189910
fix: the path to join is shadowed by a local variable ( #1322 ) ( #1335 )
...
* fix: the path to join is shadowed by a local variable
* fix: redact target uri
2025-02-20 00:50:10 +08:00
Myriad-Dreamin
803cc1ffaf
feat: support more path types and add path parameters ( #1312 ) ( #1331 )
...
* feat: support more path types and add path parameters added in typst … (#1312 )
* feat: support more path types and add path parameters added in typst 0.13.0
* test: update snapshot
* test: update snapshot
2025-02-20 00:43:47 +08:00
Hong Jiarong
55f8392692
feat(typlite): render context block contextually ( #1305 )
...
* feat: render contexual node with environment at context
* fix: extend value check to include additional node types
* feat: add assets_path and assets_src_path, support render to external svg file
* fix: clippy
* fix
* fix test error
* fix: simplify write_error function
* refactor: rename 'pref' to 'prepend_code' for clarity; fix: wrong render_inner
* refactor: simplify file name generation for asset paths
* fix: use PathBuf instead of EcoString for path display
* fix: handle Hash
* fix: clippy
* tests: update test@annotate_docs_error.typ.snap
2025-02-19 12:04:05 +08:00
Myriad-Dreamin
deb1425e74
feat: move less used codelens into a single "more" codelens ( #1315 )
...
* feat: move less used codelens into a single "more" codelens
* dev: update snapshot
2025-02-18 20:16:48 +08:00
Myriad-Dreamin
d0188a768e
dev: make eval compat ( #1269 )
...
* fix: compile when preview feature is disabled
* build: update cargo.lock
* old
* old
* old
* back
2025-02-08 14:55:47 +08:00
Myriad-Dreamin
5b2b34ee9e
fix: make preview feature gate work
2025-02-08 14:55:47 +08:00
Myriad-Dreamin
3bc5f19cf5
feat: convert TypstDocument to enum ( #1256 )
...
* feat: convert `TypstDocument` to enum
* fix: errors
* build: update cargo.lock
* fix: warnings
* fix: error
* html changes
* Revert "html changes"
This reverts commit f9fc0e4872
.
* Revert "Revert "html changes""
This reverts commit 7dc554a9e4
.
* use std typst docs
* span
* paged
* paged
* html change
* paged
* html change
* bytes
* paged
* paged
* paged
* html changes
* paged
* html changes
* paged
2025-02-03 11:17:58 +08:00
Myriad-Dreamin
85cb9096d2
perf: scatter-gather the editor diagnostics ( #1246 )
2025-02-02 14:56:55 +08:00
Myriad-Dreamin
88912bc12e
feat: prepublish tinymist-world ( #1248 )
2025-02-02 14:51:49 +08:00
Myriad-Dreamin
af47f578e4
dev: cleanup project creation ( #1227 )
2025-01-29 20:57:34 +08:00
Myriad-Dreamin
0f588c99d7
refactor: build and move comment and matcher crates to analysis crate ( #1223 )
2025-01-29 12:34:28 +08:00
Myriad-Dreamin
1b80d8c31d
feat: execute export and query on the task model ( #1214 )
...
* feat: extract id and doc id from config
* dev: merge `TaskWhen` and move `PathPattern`
* g
* dev: let it compile
* dev: rename a bit
* dev: finish cmd conversions
* dev: configure server
* dev: run export
* dev: clean code
* dev: parse gap on export
* fix: when test
2025-01-27 13:14:17 +08:00
Myriad-Dreamin
6d1e40d3a9
feat: resolve projects by lockDatabase
( #1142 )
...
* feat: implement lock-based project resolution
* feat: first working example
2025-01-20 14:51:09 +08:00
Myriad-Dreamin
89c178295a
feat: initiate lockDatabase
project resolution ( #1201 )
...
* feat: create a configuration
* docs: edit description
* docs: edit description
* feat: add lock update
* test: make configuration work
2025-01-20 12:45:23 +08:00
Myriad-Dreamin
e4bf2e9e46
feat: run project compilations on main thread ( #1197 )
...
* dev: handle compile interrupt
* dev: remove cache task use
* feat: create project crate again
dev: changes
feat: delete unused code
fix: errors
fix: errors
* feat: extra compilation is not needed
* dev: implement all todos
* fix: make event queue unbounded
* fix: make preview work again
* feat: event-driven recompilation
* feat: evict vfs cache
* feat: update evict strategy
* feat: remove lock update
2025-01-19 22:28:38 +08:00
Myriad-Dreamin
40c176ccf6
fix: capture docs before check init ( #1195 )
2025-01-19 18:48:38 +08:00
Myriad-Dreamin
1f01ec1f6c
feat: track fine-grained revisions of font
, registry
, entry
, and vfs
( #1192 )
...
* feat: set flag to indicate whether we are compiling files
g1
dev: stateless compile
dev: vfs revise apis
g1
feat: bump revision on state changes
feat: track font and package changes
dev: some cases that can change state of cache
changes
* feat: implement shared source cache
* fix: take db state
* dev: update take state location
* fix: example
2025-01-19 18:23:41 +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
5659b0bc6c
dev: move package to reflexo_world part ( #1177 )
...
* dev: move package to reflexo_world part
fix: compile error
* dev: update the package.json
* fix: compile error
* dev: remove dry compile
2025-01-16 10:13:37 +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
Myriad-Dreamin
0aafee1d13
test: add more rename tests ( #1174 )
...
* test: add tests
* dev: add more tests
2025-01-15 13:05:32 +08:00
Myriad-Dreamin
f43a8e116c
feat: add depended_{paths,{source_,}files}
methods ( #1150 )
2025-01-11 17:44:23 +08:00
Myriad-Dreamin
fb717ef4d5
test: add completion tests about nodes in math calls ( #1139 )
2025-01-09 21:42:45 +08:00
Myriad-Dreamin
fcb9fec712
feat: identify identifier-like text as ident in math mode ( #1138 )
2025-01-09 18:50:03 +08:00
Myriad-Dreamin
d831d1183e
fix: identify mode as math in math call arguments ( #1137 )
...
* fix: identify mode as math in math call arguments
* fix: move spread kind
2025-01-09 18:25:26 +08:00
Myriad-Dreamin
b7feb5dcca
fix: correct order to insert definitions in scope ( #1116 )
2025-01-06 15:28:22 +08:00
Myriad-Dreamin
bb66b4b97a
feat: complete parameters by capture information ( #1114 )
...
* feat: complete parameters by capture information
* dev: wording
2025-01-06 06:33:49 +08:00
Myriad-Dreamin
fd33024915
feat: match param names for completion ( #1113 )
...
* feat: match param names for completion
* docs: update comment
* test: update snapshot
2025-01-06 01:07:46 +08:00
Myriad-Dreamin
975e4a27bf
feat: rearrange hover providers ( #1108 )
...
* feat: rearrange hover providers
* fix: warnings
* test: update snapshot
* test: update hover snapshot
2025-01-05 14:05:13 +08:00
Yifan Song
3d805e0511
test: testcases for resource include ( #1082 )
2024-12-28 14:58:06 +08:00
Myriad-Dreamin
98c61d0023
docs: add a few comments to completion ( #1084 )
2024-12-28 13:23:48 +08:00
Myriad-Dreamin
81d3ea64c2
refactor: split completion functions by topics ( #1083 )
2024-12-28 12:45:45 +08:00
Yifan Song
c5981b81db
feat: fold continue line comments ( #1043 )
...
* feat: fold continue line comments
* update e2e hash
* fix: duplicate comment add to fold
* add test
* test: update snapshot
* feat: remove a clone and assign comment kind folding range
* test: update snapshot
* move to hierachy
* refact hierachy
* add todo
* update collapsed text
* fix: format
* add todo
* refactor: to help review
* refactor: no need to return error
* feat: split `CommentGroupMatcher`
* dev: reimplement nodes checker
* update e2e hash
* test: update snapshot
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2024-12-28 12:17:34 +08:00
Yifan Song
978e4d6f4e
fix: check file paths on renaming files ( #1080 )
2024-12-28 09:56:11 +08:00
Myriad-Dreamin
ef4714c195
dev: make eco completion repr and reduce clones ( #1079 )
...
* dev: create pair
* dev: make eco completion repr
* dev: reduce some clones
2024-12-28 09:52:47 +08:00
Myriad-Dreamin
451dc9dbdd
refactor: enclose contextual information in CompletionCursor
( #1078 )
...
* refactor: reduce some useless code
* refactor: move contextual things to a context
* refactor: force range calculation in place
2024-12-27 22:38:14 +08:00
Myriad-Dreamin
282b1d7b4d
refactor: merge some calculation stuff in completion worker ( #1077 )
2024-12-27 16:55:07 +08:00
Myriad-Dreamin
fb528ec70a
refactor: move completion code in request into worker ( #1076 )
...
* refactor: matcher tests
* refactor: move completion code in request into worker
* dev: move one use
2024-12-27 13:59:04 +08:00
Myriad-Dreamin
9c8d1461b7
refactor: merge completion stuff ( #1074 )
...
* dev: move two syntax completion to ext
* feat: move mode completion in ext.rs
* dev: clean code
* refactor: merge completion stuff
* test: update snapshot
2024-12-27 13:00:38 +08:00
Myriad-Dreamin
1059ea7e66
fix: complete raw language again ( #1073 )
2024-12-26 17:00:21 +08:00
Myriad-Dreamin
38941b8169
fix: complete body of let/closure in markup mode ( #1072 )
2024-12-26 16:47:57 +08:00
Myriad-Dreamin
1dcb034b91
fix: complete hash expression in math mode ( #1071 )
...
* fix: complete hash expression in math mode
* fix: `interpret_mode_at_kind` on hash
2024-12-26 16:19:46 +08:00
Myriad-Dreamin
98a0e60b20
fix: complete context expression in code mode ( #1070 )
2024-12-26 16:05:20 +08:00
Myriad-Dreamin
53b19dda24
test: add more completion tests ( #1069 )
...
* test: add more completion tests
* test: add more completion tests
* test: add more tests
* test: update snapshot
2024-12-26 15:54:02 +08:00
Myriad-Dreamin
c66615934c
docs: add dev guide of tinymist-query
( #1064 )
2024-12-25 12:20:09 +08:00
Myriad-Dreamin
7e3c0b2e18
dev: improve types when accessing element fields ( #1062 )
...
* dev: improve types when accessing element fields
* test: update snapshot
2024-12-24 10:34:16 +08:00
Myriad-Dreamin
b7f44e882a
test: add more tests about completing in middle of strings/labels ( #1052 )
2024-12-22 20:15:23 +08:00
Myriad-Dreamin
8a88b50cb1
fix: adjust offset from start when completing labels ( #1051 )
2024-12-22 19:19:01 +08:00