Commit graph

346 commits

Author SHA1 Message Date
Myriad-Dreamin
59fda809d5
feat: provide AST view (#1617)
* feat: provide AST view

* test: update snapshot
2025-04-02 13:24:35 +08:00
Myriad-Dreamin
195b717eda
feat: math quote are not strings (#1618) 2025-04-02 12:32:02 +08:00
QuadnucYard
daf0c5381b
build: bump typstyle to 0.13.2 (#1600)
* build: bump typstyle to 0.13.2

* Update CHANGELOG.md

---------

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-03-30 23:21:37 +08:00
Myriad-Dreamin
d49695b884
fix: disable all diagnostics testing on windows (#1603) 2025-03-30 21:03:09 +08:00
Myriad-Dreamin
96e0f0dfe6
fix: skip diagnostics test on windows (#1602)
* fix: skip diagnostics test on windows

* fix: again
2025-03-30 19:06:56 +08:00
Myriad-Dreamin
e443c3172b
feat: build pdf docs for all platforms (#1592)
* feat: build pdf docs for all platforms

* fix: name

* feat: others

* feat: remove dispatch trigger

* fix: checkout

* fix: workaround the bug

* feat: build one for all

* feat: build one for all

* feat: build one for all 2

* fix: bundle syntaxes

* fix: orders

* fix: too slow windows
2025-03-27 18:43:13 +08:00
7mile
5b42231a77
feat: eject preview panel to browser (#1575)
* feat: eject preview panel to browser

* refactor global state

* fix typo for kind

* await kill preview

* add isNotPrimary launch option

* fix isNotPrimary for eject

* fix async syntax error in compat
2025-03-25 13:40:32 +08:00
Myriad-Dreamin
6ea14bb180
build: bump version to 0.13.10 (#1572)
* feat: expose the test command

* docs: edit CLI and testing sections

* docs: edit changelog

* build: bump version to v0.13.10

* build: bump assets to v0.13.10
2025-03-23 16:46:30 +08:00
Myriad-Dreamin
553b53e173
fix: broken ask and show/export commands (#1571) 2025-03-23 15:57:06 +08:00
Myriad-Dreamin
97bcc486fd
build: bump version to 0.13.10-rc2 (#1566)
* build: bump version to 0.13.10-rc2

* build: update changelog

* build: set typst tag to v0.13.10 (typst v0.13.1)

* fix: bugged tag

* build: update assets
2025-03-21 16:40:49 +08:00
Myriad-Dreamin
10c8fa8852
feat: exclude a bunch of files from watching memory change (#1554) 2025-03-21 09:31:35 +08:00
Myriad-Dreamin
f555fc3840
test: add vscode e2e testing for export feature (#1553)
* test: add vscode e2e testing for export feature

* fix: tests
2025-03-20 19:21:29 +08:00
Myriad-Dreamin
92bb24b4ac
feat: configure word pattern to exclude -A like words (#1552) 2025-03-20 18:52:36 +08:00
Myriad-Dreamin
3ae8b01325
feat: use quick exports in code lens context (#1551)
* feat: move export commands to the module

* feat: use quick exports in code lens context
2025-03-20 18:31:04 +08:00
Myriad-Dreamin
fadf85e68a
feat: make all export available by commands (#1547) 2025-03-20 16:18:13 +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
Myriad-Dreamin
766a41f4d5
build: bump version to 0.13.10-rc1 (#1540)
* docs: edit changelog

* build: bump version to 0.13.10-rc1

* build: bump typst to 0.13.1

* build: pre-rc1

* build: build with l10n

* build: lock version
2025-03-19 17:14:53 +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
88eeef978d
feat: don't override single_file_support in tinymist.lua (#1524)
e35fd81524
2025-03-19 14:26:54 +08:00
Myriad-Dreamin
157703ef67
docs: update description about testing (#1532) 2025-03-18 00:11:13 +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
42fd5d3bc9
feat: use window/showDocument to show previewing document (#1450)
* feat: use `window/showDocument` to show previewing document

* feat: implement it

* feat: take focus
2025-03-17 17:52:59 +08:00
Myriad-Dreamin
c65b69be26
refactor: remove useless "feature" in the activate functions (#1526) 2025-03-17 16:35:38 +08:00
Myriad-Dreamin
7fb81604be
feat: paste uri smartly (#1500) 2025-03-17 16:00:11 +08:00
Myriad-Dreamin
8a8cac096e
feat: implement debugging console (#1445)
* feat: dap server parts

* dev: remove comments

* feat: dap client parts

* fix: test
2025-03-17 13:06:22 +08:00
Myriad-Dreamin
1b5d4ac786
refactor: split testing feature code (#1523) 2025-03-17 12:06:38 +08:00
Andrew Voynov
1e9fea0337
docs: fix Neovim name casing everywhere (#1520) 2025-03-17 10:12:06 +08:00
Myriad-Dreamin
520a26f088
feat: split config crate (#1516) 2025-03-16 17:33:41 +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
dc9013e253
feat: translate all tinymist config text using llm (#1504)
* feat: translate all tinymist config text using llm

* fix: bug translation
2025-03-14 09:43:07 +08:00
Myriad-Dreamin
7a78d039c2
feat: translate all tinymist commands using llm (#1501) 2025-03-13 17:45:46 +08:00
Myriad-Dreamin
e81a071a00
docs: update roadmap (#1499) 2025-03-13 16:00:54 +08:00
Myriad-Dreamin
be79119b61
build: bump version to 0.13.8 (#1498)
* build: update changelog

* build: bump version to 0.13.8

* build: bump assets to v0.13.8
2025-03-13 12:42:42 +08:00
Myriad-Dreamin
a68399c92e
build: bump version to 0.13.6 (#1492)
* build: bump version to 0.13.6

* build: update cargo.lock

* build: update assets

* build: update changelog
2025-03-13 06:16:09 +08:00
Myriad-Dreamin
a0140a6263
build: bump version to 0.13.6-rc2 (#1491)
* build: bump version to 0.13.6-rc2

* build: bump assets to v0.13.6-rc2
2025-03-12 16:27:13 +08:00
Myriad-Dreamin
b4312eea83
docs: edit changelog (#1487) 2025-03-11 12:35:24 +08:00
Myriad-Dreamin
e1ddb0e585 docs: edit changelog 2025-03-11 12:26:00 +08:00
Myriad-Dreamin
a572e3c5c0 feat: gen on ci 2025-03-11 10:56:02 +08:00
Myriad-Dreamin
ce90489017 feat: generate documentation in PDF format 2025-03-11 10:56:02 +08:00
Myriad-Dreamin
3e3196baba docs: update changelog 2025-03-11 09:06:47 +08:00
Myriad-Dreamin
ab24e90679 docs: update changelog 2025-03-11 00:30:44 +08:00
Myriad-Dreamin
795c51c3a5 docs: update changelog 2025-03-10 23:20:36 +08:00
Myriad-Dreamin
06971443d0 build: bump version to 0.13.6-rc1 2025-03-10 23:20:36 +08:00
Myriad-Dreamin
a21c68ba91
feat: wait lsp until ready when fetching summary info (#1477) 2025-03-10 16:17:04 +08:00
Myriad-Dreamin
1ad14833dd
fix: bad refactor suggested by eslint (#1468) 2025-03-09 22:04:30 +08:00
risc
689fa914b8
fix: combine VS Code language specific default settings into one block (#1462)
This works around VS Code's undocumented behavior which is described in https://github.com/microsoft/vscode-docs/issues/7773 that language specific settings for a single language take precedence over language specific settings set for multiple languages the same time. Before this change, if a user wanted to overwrite the defaults, they would have to set it for each language individually.

After this change, users can overwrite `configurationDefaults` whether or not they chose to specify them for one language or multiple languages at the same time. Fixes #1460.
2025-03-09 22:04:01 +08:00
Myriad-Dreamin
65fdf33263
fix: make typescript-eslint happy (#1453)
* g

* fix: make typescript-eslint happy
2025-03-07 12:51:49 +08:00
Myriad-Dreamin
156896c4b3
feat: add tinymist.startDefaultPreview and revise documentation about preview (#1448)
* feat: add `tinymist.startDefaultPreview` and revise documentation about preview

* test: update snapshot
2025-03-06 15:49:53 +08:00
Myriad-Dreamin
334cb2ba1c
feat: run preview server in background (#1233)
* feat: run preview server in background

* feat: pass configuration

* feat: implement it

* feat: touch docs and finish details
2025-03-06 13:49:41 +08:00