tinymist/crates
Myriad-Dreamin 75fc5f3bca
Some checks are pending
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
fix: emit onSaved signal to exporter when vfs is clean (#1939)
This bugs involves two main component: the compiler and the exporter,
the compiler compiles first and then exporter exports then. it is useful
to emit `CompileSignal::by_fs_events` to exporter even if vfs is clean
at the time we save a document.

An example triggering this bug. When user sets `exportPdf` to `onSave`,
It *bugged*:
1. OnTyped first: User types some character at T1. compiler learns that
the file content is of revision R1. the compiler compiles with revision
R1, which is needed by diagnostics event.
2. OnSaved then: Editor saves the document at T2. the compilation is
skipped early because file content is still under revision R1. In
previous version, The compilation is skipped and therefore the export is
also skipped. This is *bugged* if user sets `exportPdf` to `onSave`,
because the exporter is not run in both steps.

This PR emits the onSaved signals to both the compiler and the exporter
in the step 2.
2025-07-30 04:49:30 +08:00
..
crityp feat: add no-content-hint feature to crityp (#1408) 2025-02-26 22:15:24 +08:00
sync-lsp feat: add command to profile the entire server (#1438) 2025-05-09 15:29:24 +08:00
tinymist fix: emit onSaved signal to exporter when vfs is clean (#1939) 2025-07-30 04:49:30 +08:00
tinymist-analysis fix: update the docs link from pattern to tiling (#1906) 2025-07-24 00:49:59 +08:00
tinymist-assets feat: employ l10n to tinymist-cli and vscode extension (#1505) 2025-03-15 10:38:07 +08:00
tinymist-core build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00
tinymist-dap feat: add instrument-based breakpoints support to dap (#1529) 2025-03-17 18:19:31 +08:00
tinymist-debug build: bump world crates to 0.13.12-rc1 (#1608) 2025-03-31 16:01:51 +08:00
tinymist-derive build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00
tinymist-l10n build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00
tinymist-lint fix: the block is assumed to be used in expressions (#1668) 2025-04-16 18:47:08 +08:00
tinymist-package build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00
tinymist-project fix: emit onSaved signal to exporter when vfs is clean (#1939) 2025-07-30 04:49:30 +08:00
tinymist-query feat: resolve definitions with dynamic analysis (#1904) 2025-07-15 01:15:33 +08:00
tinymist-render dev: stateful requests now accept snapshot (#1581) 2025-03-25 16:28:00 +08:00
tinymist-std build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00
tinymist-task build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00
tinymist-tests feat: compilation respect SOURCE_DATE_EPOCH (#1631) 2025-07-09 19:09:58 +08:00
tinymist-vfs build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00
tinymist-world fix: emit onSaved signal to exporter when vfs is clean (#1939) 2025-07-30 04:49:30 +08:00
typlite feat: run announce workflow in ci (#1938) 2025-07-29 17:15:51 +08:00
typst-preview dev: fix meta and rename preview crates for publish crates (#1804) 2025-06-09 09:40:05 +08:00
typst-shim build: bump version to 0.13.16 (#1934) 2025-07-29 15:16:18 +08:00