Myriad-Dreamin
41f8881e8e
fix: correct jump_from_cursor
and add tests ( #1589 )
...
* test: add tests to jump from cursor
* fix: fuzzy search
* fix: stupid filter
* docs: add comments
* docs: add some todos
* fix: comment wording
* dev: add a todo
* dev: edit a todo
* fix: comment
2025-03-27 01:44:49 +08:00
Myriad-Dreamin
ee1c0ace46
refactor: order of functions in link expression ( #1583 )
2025-03-26 14:13:50 +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
d4fffe3543
fix: resolve relative path in subfolders ( #1574 )
2025-03-26 11:10:51 +08:00
Myriad-Dreamin
9790153381
refactor: clean up the tool::preview
crate ( #1582 )
2025-03-25 17:21:57 +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
87651913af
fix: correct bound self checking ( #1564 )
2025-03-21 14:40:07 +08:00
Myriad-Dreamin
af78414788
fix: replace last scope when checking import wildcard ( #1563 )
...
* fix: replace last scope when checking import wildcard
* test: add some tests
2025-03-21 13:31:25 +08:00
Myriad-Dreamin
92e9f797de
feat: don't trigger parameter hints when skipping parameters ( #1557 )
...
* build: record command in completion snapshots
* feat: don't trigger parameter hints when skipping parameters
* test: update snapshot
2025-03-20 21:53:38 +08:00
Myriad-Dreamin
27c31c7238
feat: forbid bad postfix completion in math mode ( #1556 )
2025-03-20 20:30:47 +08:00
Myriad-Dreamin
e33688336d
feat: forbid bad field access syntax in math mode ( #1550 )
2025-03-20 19:44:28 +08:00
7mile
8d9a8f8bed
feat: fledge diagnostic hint patterns by updating 2 refiners ( #1544 )
...
* feat: support more diagnostic hint patterns about typst v0.13 deprecation
* feat: add out of root hint diagnostic refiner
* optimize multi-pattern search with `RegexSet`
* add "cannot spread content"
* fix test
* Revert "add "cannot spread content""
This reverts commit 7d6c981413
.
2025-03-20 14:30:35 +08:00
7mile
57ce935f54
feat: add diagnostics refiner to provide extra hints from tinymist side ( #1539 )
...
* feat: add diagnostics refiner to provide extra information from tinymist side
* apply naming suggestion
* add note for caching
* fix the migration guide url
* reorganize tests
* fix clippy
2025-03-19 16:19:42 +08:00
Myriad-Dreamin
9b9a674118
fix: revert the explicit detection again ( #1525 )
...
* fix: revert the explicit detection again
* test: revert the snapshot
* test: add more tests
2025-03-19 13:07:10 +08:00
Myriad-Dreamin
b4e5f4ff62
feat: add test framework with coverage support ( #1518 )
...
* feat: test framework with coverage support
* feat: clean up
* fix: dangling else block
* feat: implement show set
* feat: implement show replace content
* feat: compare framework
* feat: preserve extension
* feat: exit 1 if failed testing
* docs: update docs about it
* docs: wording
* docs: wording
* docs: wording
2025-03-17 22:41:33 +08:00
Myriad-Dreamin
c96ea6d77f
feat: profile and visualize coverage of the current document ( #1490 )
...
* feat: draft
* feat: run coverage command in vscode
* feat: create and move location crate
* feat: run and visualize coverage
* feat: l10n
2025-03-15 11:49:51 +08:00
Myriad-Dreamin
4cbe35a286
feat: employ l10n to tinymist-cli and vscode extension ( #1505 )
...
* feat: runtime translation
* feat: poc of rust translation
* feat: clean up implementation
* feat: initialize correctly
* dev: remove dirty log
* dev: rename l10nMsg
* fix: desc
* feat: update assets building
* feat: update assets building
* build: update cargo.lock
* fix: warnings
* fix: warnings
* dev: expose api
* fix: compile error
* fix: compile errors in scripts
2025-03-15 10:38:07 +08:00
Myriad-Dreamin
648523967c
fix: forbid some bad cases of dot access ( #1497 )
...
* fix: forbid some bad cases of dot access
* test: add a countercase
* fix: revert a case
2025-03-13 12:29:25 +08:00
Myriad-Dreamin
7399fccd5a
feat: detect explicit completion from vscode ( #1496 )
...
* fix: prevent completion list from showing on bad pos
* feat: detect explicit completion from vscode
* fix: cases
* test: update snapshot
2025-03-13 12:05:47 +08:00
Myriad-Dreamin
8424df13f9
feat: don't check context type if parent is a block ( #1494 )
2025-03-13 10:08:27 +08:00
Myriad-Dreamin
774227d328
fix: more rules to forbidden arg completion ( #1493 )
...
* fix: more rules to forbidden arg completion
* fix: fix case
* feat: revert one
2025-03-13 09:56:31 +08:00
Myriad-Dreamin
4bf6cdb9ed
fix: correct field access dot target ( #1489 )
...
* fix: correct field access dot target
* test: add cases about #1267
2025-03-11 23:33:46 +08:00
Myriad-Dreamin
db1ff20a6d
fix: identify chained dot access ( #1488 )
2025-03-11 23:03:24 +08:00
Myriad-Dreamin
512f93176f
feat: accept arbitrary expressions in show rules ( #1484 )
...
* feat: accept arbitray expressions in show rules
* test: update snapshot
2025-03-10 23:20:13 +08:00
Myriad-Dreamin
e8507fea96
feat: complete std
which isn't in any builtin scopes ( #1483 )
...
* feat: complete `std` which isn't in any builtin scopes
* test: update snapshot
* test: update snapshot
* test: update snapshot
2025-03-10 23:03:43 +08:00
Myriad-Dreamin
be9c0478f6
fix: distinguish content value from content type ( #1482 )
...
* fix: distinguish content value from content type
* docs: add comments
* fix: repr
2025-03-10 22:53:38 +08:00
Myriad-Dreamin
62815ae028
feat: ignore type completion having no constructors ( #1481 )
2025-03-10 22:13:16 +08:00
Myriad-Dreamin
7b35973741
fix: don't match the right paren for arg completion ( #1480 )
...
* fix: don't match the right paren for arg completion
* feat: arg_range_math
* fix: fmt
2025-03-10 20:50:29 +08:00
Myriad-Dreamin
1b141868eb
feat: unify and improve method completion ( #1478 )
...
* feat: unify func completion
* refactor: move value_completion logic
* feat: bound self checking
* f1
* feat: bound self type checking
* feat: type completion and typetype completion
* test: update snapshot
2025-03-10 17:42:32 +08:00
Myriad-Dreamin
be1bf802c0
feat: clean up logs ( #1473 )
2025-03-10 11:41:41 +08:00
Myriad-Dreamin
2639dbd49e
feat: identify files ignoring case ( #1472 )
2025-03-09 23:53:51 +08:00
Myriad-Dreamin
d76494380b
fix: revert enter feature in list or enum ( #1446 )
2025-03-06 12:32:42 +08:00
Myriad-Dreamin
4e9460758f
feat: adjust label and ref completion range ( #1444 )
...
* feat: adjust label and ref completion range
* docs: comment
2025-03-05 14:45:53 +08:00
Myriad-Dreamin
3ef71747c9
test: add completion cases about references ( #1443 )
...
* test: ref-label cases
* feat: more cases
2025-03-05 14:19:55 +08:00
Myriad-Dreamin
f13b632ad2
feat: handle enters in list or enum items ( #1442 )
...
* test: add tests about `onEnter`
* feat: handle enters in list or enum items
2025-03-05 12:30:47 +08:00
Myriad-Dreamin
afc5d31377
fix: don't check context type of hash token ( #1432 )
2025-03-01 21:49:29 +08:00
Myriad-Dreamin
0cb12786b3
fix: don't allow type completion in string content ( #1420 )
2025-02-27 16:50:27 +08:00
Myriad-Dreamin
1fe422f963
fix: complete type of type having constructors ( #1419 )
...
* fix: complete type of type having constructors
* test: update snapshot
* test: update snapshot
2025-02-27 16:26:02 +08:00
Myriad-Dreamin
96cdab38f6
feat: match named arg parent in literals ( #1418 )
2025-02-27 14:48:57 +08:00
Myriad-Dreamin
ebfc93c104
feat: post check element types of array and dict ( #1417 )
2025-02-27 14:20:36 +08:00
Myriad-Dreamin
a191b7c852
feat: adjust builtin types for typst v0.13.0 ( #1416 )
...
* feat: adjust builtin types for typst v0.13.0
* todo
* test: update snapshot
* test: update snapshot
2025-02-27 13:28:35 +08:00
Myriad-Dreamin
4c06ffeaa9
fix: add more kind checking about MathText
( #1415 )
2025-02-27 11:41:30 +08:00
Myriad-Dreamin
bbed728b82
feat: bump msrv and rust to v1.83 and v1.85 ( #1407 )
2025-02-26 14:40:23 +08:00
Myriad-Dreamin
a5e210813a
fix: term math text as content instead of string ( #1386 )
2025-02-24 11:31:27 +08:00
Myriad-Dreamin
1589cdd5df
feat: print type representation of anonymous modules ( #1385 )
...
* feat: print type representation of anonymous modules
* test: update snapshot
2025-02-24 11:26:32 +08:00
Myriad-Dreamin
d21ebc38dc
feat: bump typst to v0.13.0-rc1 ( #1342 )
...
* dev: use range type from lsp-types
* feat: add html document variant
* feat: use new-style bytes constructors
* fix: broken span usages
* fix: syntax kind is changed
* fix: label use pico str
* fix: bib element is changed
* fix: raw element is changed
* fix: typst use codex
* fix: package fn is removed from world trait
* feat: reflexo accept typst document
* docs: update changelog
* dev: cargo patch
* fix: typst pdf timestamp is changed
* fix: pattern is renamed to tiling
* dev: make eval compat
* test: update snapshots
* build: bump version to nightly 0.12.19-rc4
* build: bump version to 0.12.19-rc1 (#1164 )
* build update changelog
* build: bump version to 0.12.19-rc1
* build: bump version to nightly 0.12.19-rc2 (#1221 )
* feat: update typst to `85d1778`
* deps: lock git deps version
* build: bump version to 0.12.19-rc2
* docs: remove rc in changelog
* fix: mathtext formatting of typstyle
* fix: completion related to mathtext
* build: update cargo.lock
* build: bump version to nightly 0.12.19-rc3 (#1232 )
* build: bump version to nightly 0.12.19-rc4 (#1239 )
* feat: add typst-html
* feat: add typst-html
* cargo patch
* fix: features doesn't take effect
* fix: casting
* fix: broken no-content-hint
* fix: snapshot
* fix: remove unnecessary `fs` feature
* fix: move system features feature
* feat: remove nightly shim
* test: update snapshot
* dev: nightly v0.12.21 (#1279 )
* feat: update typst to `0ea6680`
feat: update typst to `0ea6680`
build: bump version to nightly 0.12.19 (#1261 )
* fix: fix lint errors
* styl: fotmat
* fix: build web ci
* build: update cargo.toml
* build: bump version to nightly 0.12.21-rc1 (#1280 )
* build: update typstyle & reflexo (#1336 )
* build: update typstyle & reflexo
* dev: remove useless patches
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
* build: update version
* fix: pdf gate were broken (#1285 )
* fix: panic on convert_datetime (#1286 )
* feat: run language sever with targeting html (#1284 )
* dev: add some debug logging
* feat: html compilation
* fix: revert changes
* feat: adjust html interfaces
* feat: lock reflexo
* feat: provide exportTarget configuration
* feat: export html actions when target is html
* build: bump reflexo
* fix: system feature gate
* fix: feature gate 2
* fix: feature gate 3
* feat: make tinymist-world featured by lsp
* feat: text export over typst's HTML export (#1289 )
* feat: add more doc, world, and task apis (#1290 )
* feat: add num of pages method
* feat: add from_snapshot_inner method
* feat: add clear_dedicates method
* feat: more convertion traits
* feat: add doc_get_as_value method
* feat: add doc_get_as_value method
* feat: add cast_run method
* fix: set is compiling flag (#1293 )
* feat: publish {tinymist-{derive,analysis,std,vfs,world,project},typlite,crityp} crates (#1310 )
* build: bump version to 0.12.21-pre-rc1
* fix: deps
* build: set nightly in nightly branch
* docs: add readmes for publish
* feat: add release crates action
* dev: remove publish of sync-lsp
* dev: remove useless setup
* fix: remove readme
* fix: publish ignore errors
* fix: specify version for publish
* fix: specify version for publish
* feat: update tinymist-web version
* test: update snapshot
* fix: diverged deps
---------
Co-authored-by: ParaN3xus <136563585+ParaN3xus@users.noreply.github.com>
2025-02-21 03:18:04 +08:00
Myriad-Dreamin
f3329b8dc4
build: bump version to 0.12.20 ( #1345 )
...
* docs: editing changelog
* build: bump version to 0.12.20
* docs: update changelog
* build: bump dependencies
* fix: snapshot and compile error
2025-02-21 01:37:38 +08:00
Myriad-Dreamin
d470cb061f
dev: remove some heavy logging ( #1338 ) ( #1340 )
2025-02-20 01:48:42 +08:00
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