tinymist/scripts
Myriad-Dreamin 06c2240caa
Some checks failed
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
feat: customize paste behaviors in vscode (#2238)
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
..
build-l10n.mjs build: make use of async io of js to speed up vscode builds (#2069) 2025-08-31 18:34:20 +08:00
build.mjs feat: customize paste behaviors in vscode (#2238) 2025-11-11 20:26:58 +08:00
builders.mjs feat: customize paste behaviors in vscode (#2238) 2025-11-11 20:26:58 +08:00
check-msrv.mjs feat(ci): setup and cache minimal toolchain (#1683) 2025-04-30 17:45:13 +08:00
compile-perf.sh feat: add CLI compile command and bench script (#1193) 2025-01-19 18:48:19 +08:00
draft-release.mjs fix: properly handle v-prefix in release tag to announce (#1971) 2025-08-03 10:52:15 +08:00
e2e.ps1 feat: fully concurrent lsp (#363) 2024-07-02 14:01:42 +08:00
e2e.sh chore: fix test scripts and update test documents (#178) 2024-04-09 12:37:01 +08:00
feature-testing.sh feat: move and compile tinymist crate for wasm32 target (#2027) 2025-08-11 13:14:26 +08:00
link-docs.mjs feat: add software specification for LLM (#1917) 2025-07-23 15:34:57 +08:00
nightly-utils.mjs feat: move and compile tinymist crate for wasm32 target (#2027) 2025-08-11 13:14:26 +08:00
project-build.ps1 feat: CLI generate shell build script (#1219) 2025-01-28 15:13:59 +08:00
publish.ps1 build: bump version to 0.11.12 (#352) 2024-06-28 09:08:09 +08:00
release.mjs build: bump version to 0.13.28-rc1 (#2134) 2025-09-26 15:58:50 +08:00
test-glibc.mjs feat: test and lower glibc version requirement (#2143) 2025-09-30 16:48:41 +08:00
test-lock.sh fix: ensure that the lockfile is respected (#2000) 2025-08-07 07:42:02 +08:00