Myriad-Dreamin
e3f41f81ef
feat: check field of literals ( #1619 )
...
* feat: check field of literals
* test: add more tests
* test: update snapshot
2025-04-06 20:33:26 +08:00
Myriad-Dreamin
7f5bb5dc45
feat: resolve full ranges of bib items ( #1627 )
...
* feat: resolve full ranges of bib items
* chore: update todo
2025-04-04 17:06:09 +08:00
Myriad-Dreamin
04c013f3a4
dev: add Definition::file_id ( #1626 )
2025-04-04 16:08:38 +08:00
Myriad-Dreamin
bceb93b944
fix: correct name_range impl ( #1623 )
2025-04-04 06:25:21 +08:00
Myriad-Dreamin
71116758ef
build: bump world crates to 0.13.12-rc1 ( #1608 )
...
* refactor: move `debug_loc`
* build: fix rev
* build: bump tinymist inner version
* build: bump tinymist world version
* build: bump world crates to 0.13.12-rc1
* fix: used bad patch
* fix: clippy errors
2025-03-31 16:01:51 +08:00
Myriad-Dreamin
4844419bd8
fix: tolerate the fact that plugin functions don't have params ( #1605 )
2025-03-31 10:24:48 +08:00
Luyan Zhou
e6c0a9b10d
feat: fold list and enum items ( #1598 )
...
* feat: fold list and enum item content
* chore: format code
* feat: add new fixtures for folding range tests with list and enum structures
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-03-30 22:17:27 +08:00
Myriad-Dreamin
53ceba2801
refactor: bib worker ( #1585 )
...
* refactor: bib worker
* fix: stupid slash
2025-03-30 21:47:06 +08:00
QuadnucYard
7b74506dcc
feat: remove extra linebreak in diagnostic message ( #1599 )
2025-03-30 21:03:44 +08:00
Myriad-Dreamin
90f9949f8c
feat: support --feature and --pdf-standard. ( #1596 )
2025-03-28 17:42:03 +08:00
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