Commit graph

17 commits

Author SHA1 Message Date
Myriad-Dreamin
1c9db1ce69
build: make use of async io of js to speed up vscode builds (#2069)
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
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 / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
2025-08-31 18:34:20 +08:00
Myriad-Dreamin
c5222661b1
dev: fix errors after upgrading tsc and update resolution (#449) 2024-07-22 18:45:59 +08:00
Myriad-Dreamin
00ec24e18f
dev: terminate expression before math blocks (#347)
* docs: minor updates

* dev: terminate expression before math blocks
2024-06-26 18:14:04 +08:00
Myriad-Dreamin
6a438e79c4
fix: properly stops call expressions (#273) 2024-05-12 00:32:53 +08:00
Myriad-Dreamin
0982686258
fix: identify string literals in math mode (#196) 2024-04-18 11:33:49 +08:00
Myriad-Dreamin
3393b998aa
fix: a dot or colon in ref ident cannot follow space or EOF (#195) 2024-04-18 11:33:22 +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
4b1057efaf
fix: better grammar on incomplete heading (#187) 2024-04-12 09:49:36 +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
QuarticCat
ebed95cbcd
fix: improve release profile & fix typos (#177)
* dev: split a gh-release profile to accelerate development

* fix: many typos

* fix: miri warnings

* fix: update fixtures
2024-04-10 11:34:18 +08:00
Myriad-Dreamin
61851f1300
dev: correctly parse label and reference markup (#167) 2024-04-06 13:44:48 +08:00
Myriad-Dreamin
2e39afde78
fix: better grammar on incomplete AST (#140)
* dev: error tolerance on editing let/show statements

* dev: error tolerance on editing if/show statements

* dev: error tolerance on editing while/for statements

* dev: error tolerance on editing if/while/for statements

* dev: better token for and or not
2024-04-01 01:51:42 +08:00
Myriad-Dreamin
90ef2e6f72
dev: improve punctuation and keyword token kinds (#133)
* dev: improve punctuation and keyword token kinds

* dev: improve punctuation and keyword token kinds
2024-03-30 20:04:34 +08:00
Myriad-Dreamin
4e318e023f
fix: correct identifier/keyword boundaries (#128) 2024-03-30 17:14:58 +08:00
Myriad-Dreamin
2ae86922a4
fix: keyword boundary (#109) 2024-03-27 10:19:50 +08:00
Myriad-Dreamin
2e7c7732dc
feat: mark correct expression boundary on all testing files from typst/typst (#85)
* fix: comment and set rules

* fix: losen for rules

* fix: chore field, escape

* fix: hash termination

* dev: handle math mode

* fix: terminate expressions on right braces

* dev: match spread operator

* dev: remove complex check on if

* dev: add two bugs

* dev: fix if/while conditions

* fix: terminate expressions on right braces 2
2024-03-23 01:19:43 +08:00
Myriad-Dreamin
14ef2e78e2
feat: provide more robust syntax highlight for expressions in markup context (#80)
* dev: robust if syntax

* dev: robust for syntax

* dev: if/for with content blocks

* dev: robust while syntax

* dev: lift identifier matchers

* dev: update test case

* dev: robust call syntax

* dev: robust arrow func syntax

* dev: robust set syntax

* dev: robust show syntax

* dev: robust let syntax

* dev: robust string literal syntax

* dev: robust include syntax

* dev: robust import syntax

* dev: expression continuation

* dev: error tolerance

* dev: robust inline/blocky raw syntax

* dev: chore fixes

* dev: fix call and raw

* dev: fix some markup

* dev: refactor many markup patterns

* dev: final touches

* dev: remove unused dep
2024-03-21 17:52:51 +08:00