Myriad-Dreamin
06c2240caa
feat: customize paste behaviors in vscode ( #2238 )
...
tinymist::auto_tag / auto-tag (push) Has been cancelled
tinymist::ci / Duplicate Actions Detection (push) Has been cancelled
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Has been cancelled
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Has been cancelled
tinymist::ci / prepare-build (push) Has been cancelled
tinymist::gh_pages / build-gh-pages (push) Has been cancelled
tinymist::ci / announce (push) Has been cancelled
tinymist::ci / build (push) Has been cancelled
Close #1830 and close #2063
The hook script feature is available since `tinymist` v0.14.2.
Hook Scripts allow you to hook and customize certain behaviors of tinymist by providing code snippets that will be executed at specific events.
The hook scripts are run as typst scripts with some predefined variables. Since typst is sandboxed, the hook scripts cannot access system directly. However, you can still bind lsp commands to perform complex operations.
See https://myriad-dreamin.github.io/tinymist/feature/script-hook.html .
- [x] run a demo
- [x] finish tests
- [x] add docs
2025-11-11 20:26:58 +08:00
Myriad-Dreamin
4bec3e4ac1
docs: remove - hint ( #2046 )
...
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / build (push) Blocked by required conditions
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::gh_pages / build-gh-pages (push) Waiting to run
Closes #2038
2025-08-19 13:15:16 +08:00
Myriad-Dreamin
98062430b4
docs: update commands to install tinymist cli ( #2037 )
...
closes #2033
2025-08-18 07:17:33 +08:00
Myriad-Dreamin
6821eea6a8
feat: generate config reference by typst ( #1885 )
...
tinymist::ci / publish-vscode (push) Blocked by required conditions
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 / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2022) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
* feat: in draft config
* feat: generate config by typst
* feat: remove config-man
2025-07-08 13:36:35 +08:00
Myriad-Dreamin
7ee2e53189
feat: export to tex by tasks ( #1826 )
...
* feat: export to tex by tasks
* test: update snapshot
2025-06-19 14:10:42 +08:00
Wenzhuo Liu
39368da55f
feat: bump typstyle to v0.13.4 and add config for hard wrap ( #1737 )
tinymist::gh_pages / build-gh-pages (push) Has been cancelled
tinymist::ci / Duplicate Actions Detection (push) Has been cancelled
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Has been cancelled
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Has been cancelled
tinymist::ci / prepare-build (push) Has been cancelled
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Has been cancelled
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-2019) (push) Has been cancelled
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Has been cancelled
tinymist::ci / build-binary (push) Has been cancelled
tinymist::ci / build-vsc-assets (push) Has been cancelled
tinymist::ci / build-vscode (push) Has been cancelled
tinymist::ci / build-vscode-others (push) Has been cancelled
tinymist::ci / publish-vscode (push) Has been cancelled
2025-05-29 00:00:25 +08:00
Myriad-Dreamin
38974a3b5e
feat: autofix unknown variable: a and file not found (searched at a.typ) by code action ( #1743 )
...
* feat: check context
* feat: implement it
* fix: warnings
* test: update snapshot
2025-05-09 23:44:12 +08:00
Myriad-Dreamin
f33ea4913c
build: bump typst.ts to v0.6.0-rc1 ( #1707 )
...
* build: bump typst.ts to v0.6.0-rc1
* build: update lock and docs
2025-04-29 12:46:16 +08:00
Myriad-Dreamin
212c575415
docs: update configuration.md ( #1660 )
2025-04-16 16:45:58 +08:00
Andrew Voynov
1e9fea0337
docs: fix Neovim name casing everywhere ( #1520 )
2025-03-17 10:12:06 +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
15f2329bc1
fix: use new wasm renderer ( #1398 )
2025-02-25 14:47:54 +08:00
Myriad-Dreamin
4f57e0f0b1
docs: update configuration documents ( #1356 )
2025-02-21 14:16:50 +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
Yifan Song
5285da4ae0
build: upgrade typstyle to v0.12.15 ( #1324 )
...
* build: upgrade typstyle to v0.12.14
* update doc
* dev: change name
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-02-20 01:05:28 +08:00
Myriad-Dreamin
cddb193b18
feat: copy code from builtin markdown extension ( #1306 )
2025-02-18 00:01:36 +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
30f242d393
feat: show main file in the status bar ( #1147 )
2025-01-11 17:16:03 +08:00
Myriad-Dreamin
def730f32a
feat: update way and add config about word separator ( #1002 )
2024-12-15 16:06:07 +08:00
Myriad-Dreamin
c6fcfb4d96
docs: maintain editor docs ( #937 )
...
* docs: maintain editor docs
* docs: maintain editor docs (cont.)
2024-12-03 17:16:27 +08:00
Myriad-Dreamin
67e659a878
feat: prefer to guide coding by signature help ( #874 )
...
* feat: prefer to guide coding by signature help
* test: update markdown description
* test: update configuration for testing
2024-11-21 13:14:58 +08:00
Myriad-Dreamin
d0b40dbfa6
feat: provide UFCS-style completion on content types ( #849 )
...
* feat: UFCS completion on content types
* dev: cleanup panics
* feat: add configuration about postfix completion
* test: update snapshot
* fix: lazily determine default values
2024-11-19 12:48:04 +08:00
Myriad-Dreamin
9f36fea62b
docs: maintain docs for tinymist 0.12.2 ( #825 )
2024-11-15 14:17:43 +08:00
Myriad-Dreamin
d4492e0436
feat: add configuration to open exported file by system default app ( #636 )
...
* feat: add configuration to open exported file by system default application
* dev: update description
* fix: config key
2024-10-06 23:22:04 +08:00
Myriad-Dreamin
d6fae74773
feat: support drag and drop of files into the typst editor ( #635 )
...
* feat: support drag and drop of files into the typst editor
* feat: add configuration gate
2024-10-06 22:57:54 +08:00
Myriad-Dreamin
b2b9715218
docs: add root path hints for neovim users ( #561 )
...
* docs: add root path hints for neovim users
* fix: configuration generation
2024-08-26 21:28:42 +08:00
Myriad-Dreamin
99f9d6ccb7
fix: bad configuration document ( #521 )
2024-08-10 20:43:08 +08:00
Myriad-Dreamin
1b57bec161
feat: full compatible with typst-preview extension ( #371 )
2024-07-07 11:26:50 +08:00
Myriad-Dreamin
a8d470222f
feat: support single-task preview commands ( #368 )
...
* refactor: adjust compat code
* refactor: extension side code
* dev: setup preview state
* refactor: lsp side code
* dev: first successful preview
* dev: respect compile reason
* dev: update snapshot
* dev: log a bit
* fix: refresh style
* dev: properly start and stop
* dev: throw error correctly
* dev: update deprecation note
* dev: remove preview cli input/font arguments
* build: don't ignore frontend file
* dev: polyfill non-text editions
* dev: clean some code
* dev: clean some code
* dev: eliminate preview html in tinymist extension
* dev: eliminate CompilationHandleImpl and CompileServer
* dev: stop browser preview correctly
* dev: update configuration
2024-07-06 13:27:17 +08:00
Myriad-Dreamin
933352b0ea
feat: make more consistent font configuration ( #312 )
...
* feat: more consistent font configuration
* dev: improve systemFonts config
* dev: remove system font argument to pass
2024-05-23 18:10:44 +08:00
Myriad-Dreamin
8a3fdbc642
feat: add common print width configuration for formatters ( #170 )
...
* dev: typstfmt use width configuration
* feat: add common print width configuration for formatters
2024-04-06 13:54:26 +08:00
Myriad-Dreamin
b635f06619
build: bump version to 0.11.2 ( #136 )
...
* docs: update documents
* fix: correct order of building binaries
* build: bump version to 0.11.2
* docs: redirect changelog
* docs: update document tips
* docs: update insert template in place tips
* build: bump typstyle version to 0.11.7
2024-03-30 23:02:43 +08:00
Myriad-Dreamin
8f91615839
fix: wrong default value for system fonts ( #97 )
2024-03-26 10:54:35 +08:00
Myriad-Dreamin
f0a9c3e880
dev: use positive system font config ( #93 )
...
* dev: change system config
* docs: update config doc
2024-03-24 10:16:29 +08:00
Myriad-Dreamin
9b09d6458e
feat: integrate neovim support ( #91 )
...
* feat: integrate neovim support
* dev: restre default settings in plugin file
* fix: description
* docs: better link
* chore: fix
* chore: mason install
* fix: link
2024-03-23 18:46:31 +08:00