tinymist
tinymist copied to clipboard
Avoid needless repositioning of preview
Describe the bug
When the preview is a bit zoomed in (so that it has an horizontal scrollbar) it moves the document so that the current position is near the left margin. This leads to constant repositioning that is annoying, even though the pointed position is visible.
https://github.com/user-attachments/assets/93b76dd2-d1da-40e4-b9e9-66cde54ce7b5
One workaround is to avoid zooming the document, but it easier on my poor sight if I enlarge it a bit. Since there is no crop option, this is the only way to do it.
Package/Software version:
VSCode version(Help -> About):
Version: 1.92.0 (Universal)
Commit: b1c0a14de1414fcdaa400695b4db1c0799bc3124
Date: 2024-07-31T23:26:45.634Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.4.0
tinymist extension version: v0.11.0
. Get it by tinymist --version
in terminal.
tinymist
Build Timestamp: 2024-08-04T19:30:39.635429000Z
Build Git Describe: v0.11.18
Commit SHA: fb0a300bc2ef8cfb74a62100441fa4a3f648f4b2
Commit Date: None
Commit Branch: None
Cargo Target Triple: aarch64-apple-darwin
Typst Version: 0.11.1
Logs:
tinymist server log(Output Panel -> tinymist):
[2024-08-06T21:09:25Z INFO tinymist] starting LSP server: LspArgs {
mirror: MirrorArgs {
mirror: "",
replay: "",
},
font: CompileFontArgs {
font_paths: [],
ignore_system_fonts: false,
},
}
[2024-08-06T21:09:25Z INFO sync_lsp] handling initialize - (0) at Instant { tv_sec: 1594667, tv_nsec: 8033041 }
[2024-08-06T21:09:25Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "onEnterEvent": Bool(true), "outputPath": String(""), "preferredTheme": String("light"), "preview": Object {"cursorIndicator": Bool(false), "fontPaths": Array [], "invertColors": Null, "partialRendering": Bool(true), "pinPreviewFile": Bool(false), "refresh": String("onType"), "scrollSync": String("onSelectionChangeByMouse"), "showInActivityBar": Bool(false), "sysInputs": Object {}, "systemFonts": Bool(true)}, "previewFeature": String("enable"), "semanticTokens": String("enable"), "systemFonts": Bool(true), "trace": Object {"server": String("off")}, "typstExtraArgs": Array []}
[2024-08-06T21:09:25Z INFO tinymist::server] LanguageState: initialized with config Config { compile: CompileConfig { roots: ["/Users/carlos/Documents/Util", "/Users/carlos/Desktop"], output_path: PathPattern(""), export_pdf: Never, root_path: None, font_opts: CompileFontArgs { font_paths: [], ignore_system_fonts: false }, system_fonts: Some(true), font_paths: [], fonts: OnceCell(Uninit), notify_status: true, periscope_args: None, typst_extra_args: Some(CompileExtraOpts { root_dir: None, entry: None, inputs: {}, font: CompileFontArgs { font_paths: [], ignore_system_fonts: false }, creation_timestamp: None }), preferred_theme: Some("light"), has_default_entry_path: false, lsp_inputs: {"x-preview": "{\"version\":1,\"theme\":\"light\"}"} }, semantic_tokens: Enable, formatter: Disable, formatter_print_width: 120 }
[2024-08-06T21:09:25Z INFO tinymist::server] LanguageState: initialized with const_config ConstConfig { position_encoding: Utf16, cfg_change_registration: true, tokens_dynamic_registration: true, tokens_overlapping_token_support: false, tokens_multiline_token_support: false, doc_line_folding_only: true, doc_fmt_dynamic_registration: true }
[2024-08-06T21:09:25Z INFO tinymist::actor] TypstActor: creating server for primary, entry: Workspace { root: "/Users/carlos/Documents/Util", main: None }, inputs: {"x-preview": "{\"version\":1,\"theme\":\"light\"}"}
[2024-08-06T21:09:25Z INFO tinymist::init] creating SharedFontResolver with CompileFontArgs { font_paths: [], ignore_system_fonts: false }
[2024-08-06T21:09:25Z INFO sync_lsp] handled initialize - (0) in 7.19ms
[2024-08-06T21:09:25Z INFO sync_lsp] notifying initialized - at Instant { tv_sec: 1594667, tv_nsec: 15754125 }
[2024-08-06T21:09:25Z INFO tinymist::server] server initialized
[2024-08-06T21:09:25Z INFO sync_lsp] notifing initialized succeeded in 1.17ms
[2024-08-06T21:09:25Z INFO sync_lsp] handling workspace/executeCommand - (1) at Instant { tv_sec: 1594667, tv_nsec: 18424416 }
[2024-08-06T21:09:25Z INFO sync_lsp] handled workspace/executeCommand - (1) in 9.45ms
[2024-08-06T21:09:25Z INFO sync_lsp] handling workspace/executeCommand - (2) at Instant { tv_sec: 1594667, tv_nsec: 27898291 }
[2024-08-06T21:09:25Z INFO tinymist::actor::typ_client] the entry file of TypstActor(primary) is changing to Workspace { root: "/Users/carlos/Desktop", main: Some(/test.typ) }
[2024-08-06T21:09:25Z INFO tinymist::tool::preview] PreviewTask(hmw64k): arguments: PreviewCliArgs {
preview: PreviewArgs {
data_plane_host: "127.0.0.1:0",
control_plane_host: "",
enable_partial_rendering: true,
invert_colors: "never",
task_id: "hmw64k",
refresh_style: OnType,
},
compile: CompileOnceArgs {
input: Some(
"/Users/carlos/Desktop/test.typ",
),
root: None,
inputs: [],
font: CompileFontArgs {
font_paths: [],
ignore_system_fonts: false,
},
creation_timestamp: None,
},
preview_mode: Document,
static_file_host: "127.0.0.1:0",
not_as_primary: false,
dont_open_in_browser: false,
}
[2024-08-06T21:09:25Z INFO sync_lsp] notifying textDocument/didOpen - at Instant { tv_sec: 1594667, tv_nsec: 30631666 }
[2024-08-06T21:09:25Z INFO tinymist::server] did open Url { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/Users/carlos/Desktop/test.typ", query: None, fragment: None }
[2024-08-06T21:09:25Z INFO typst_preview] Previewer: typst actor spawned
[2024-08-06T21:09:25Z DEBUG typst_preview::actor::typst] TypstActor: waiting for message
[2024-08-06T21:09:25Z INFO typst_preview] Data plane server listening on: 127.0.0.1:57697
[2024-08-06T21:09:25Z INFO tinymist::server] create source: "/Users/carlos/Desktop/test.typ"
[2024-08-06T21:09:25Z INFO sync_lsp] notifing textDocument/didOpen succeeded in 746.63µs
[2024-08-06T21:09:25Z INFO sync_lsp] handling workspace/executeCommand - (3) at Instant { tv_sec: 1594667, tv_nsec: 31383500 }
[2024-08-06T21:09:25Z INFO tinymist::cmd] first manual focusing is coming
[2024-08-06T21:09:25Z INFO sync_lsp] handled workspace/executeCommand - (3) in 7.33µs
[2024-08-06T21:09:25Z INFO tinymist::tool::preview] PreviewTask(hmw64k): static file server listening on: 127.0.0.1:57698
[2024-08-06T21:09:25Z INFO sync_lsp] handled workspace/executeCommand - (2) in 8.41ms
[2024-08-06T21:09:25Z INFO sync_lsp] handling workspace/executeCommand - (4) at Instant { tv_sec: 1594667, tv_nsec: 36325166 }
[2024-08-06T21:09:25Z INFO sync_lsp] handled workspace/executeCommand - (4) in 6.38ms
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/documentColor - (5) at Instant { tv_sec: 1594667, tv_nsec: 99539875 }
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/codeAction - (6) at Instant { tv_sec: 1594667, tv_nsec: 188318500 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/setTrace - at Instant { tv_sec: 1594667, tv_nsec: 192467458 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/setTrace
[2024-08-06T21:09:25Z INFO sync_lsp] notifying workspace/didChangeConfiguration - at Instant { tv_sec: 1594667, tv_nsec: 192484250 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifing workspace/didChangeConfiguration succeeded in 19.79µs
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/setTrace - at Instant { tv_sec: 1594667, tv_nsec: 215919333 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/setTrace
[2024-08-06T21:09:25Z INFO sync_lsp] notifying workspace/didChangeConfiguration - at Instant { tv_sec: 1594667, tv_nsec: 215940916 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifing workspace/didChangeConfiguration succeeded in 18.38µs
[2024-08-06T21:09:25Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "fontPaths": Null, "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "hoverPeriscope": Null, "outputPath": String(""), "preferredTheme": String("light"), "rootPath": Null, "semanticTokens": String("enable"), "systemFonts": Bool(true), "typstExtraArgs": Array []}
[2024-08-06T21:09:25Z INFO tinymist::server] new settings applied
[2024-08-06T21:09:25Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "fontPaths": Null, "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "hoverPeriscope": Null, "outputPath": String(""), "preferredTheme": String("light"), "rootPath": Null, "semanticTokens": String("enable"), "systemFonts": Bool(true), "typstExtraArgs": Array []}
[2024-08-06T21:09:25Z INFO tinymist::server] new settings applied
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/setTrace - at Instant { tv_sec: 1594667, tv_nsec: 233295250 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/setTrace
[2024-08-06T21:09:25Z INFO sync_lsp] notifying workspace/didChangeConfiguration - at Instant { tv_sec: 1594667, tv_nsec: 233346500 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifing workspace/didChangeConfiguration succeeded in 102.75µs
[2024-08-06T21:09:25Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "fontPaths": Null, "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "hoverPeriscope": Null, "outputPath": String(""), "preferredTheme": String("light"), "rootPath": Null, "semanticTokens": String("enable"), "systemFonts": Bool(true), "typstExtraArgs": Array []}
[2024-08-06T21:09:25Z INFO tinymist::server] new settings applied
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/setTrace - at Instant { tv_sec: 1594667, tv_nsec: 248284791 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/setTrace
[2024-08-06T21:09:25Z INFO sync_lsp] notifying workspace/didChangeConfiguration - at Instant { tv_sec: 1594667, tv_nsec: 248300625 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifing workspace/didChangeConfiguration succeeded in 19.79µs
[2024-08-06T21:09:25Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "fontPaths": Null, "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "hoverPeriscope": Null, "outputPath": String(""), "preferredTheme": String("light"), "rootPath": Null, "semanticTokens": String("enable"), "systemFonts": Bool(true), "typstExtraArgs": Array []}
[2024-08-06T21:09:25Z INFO tinymist::server] new settings applied
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/setTrace - at Instant { tv_sec: 1594667, tv_nsec: 252325750 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/setTrace
[2024-08-06T21:09:25Z INFO sync_lsp] notifying workspace/didChangeConfiguration - at Instant { tv_sec: 1594667, tv_nsec: 252405208 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifing workspace/didChangeConfiguration succeeded in 14.67µs
[2024-08-06T21:09:25Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "fontPaths": Null, "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "hoverPeriscope": Null, "outputPath": String(""), "preferredTheme": String("light"), "rootPath": Null, "semanticTokens": String("enable"), "systemFonts": Bool(true), "typstExtraArgs": Array []}
[2024-08-06T21:09:25Z INFO tinymist::server] new settings applied
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/cancelRequest - at Instant { tv_sec: 1594667, tv_nsec: 311420125 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/cancelRequest
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/codeAction - (7) at Instant { tv_sec: 1594667, tv_nsec: 313510166 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/cancelRequest - at Instant { tv_sec: 1594667, tv_nsec: 313561541 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/cancelRequest
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/codeAction - (8) at Instant { tv_sec: 1594667, tv_nsec: 324143583 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/setTrace - at Instant { tv_sec: 1594667, tv_nsec: 324729541 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/setTrace
[2024-08-06T21:09:25Z INFO sync_lsp] notifying workspace/didChangeConfiguration - at Instant { tv_sec: 1594667, tv_nsec: 337430375 }
[2024-08-06T21:09:25Z INFO sync_lsp] notifing workspace/didChangeConfiguration succeeded in 31.79µs
[2024-08-06T21:09:25Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "fontPaths": Null, "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "hoverPeriscope": Null, "outputPath": String(""), "preferredTheme": String("light"), "rootPath": Null, "semanticTokens": String("enable"), "systemFonts": Bool(true), "typstExtraArgs": Array []}
[2024-08-06T21:09:25Z INFO tinymist::server] new settings applied
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/cancelRequest - at Instant { tv_sec: 1594667, tv_nsec: 362054208 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/cancelRequest
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/codeAction - (9) at Instant { tv_sec: 1594667, tv_nsec: 362122000 }
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/foldingRange - (10) at Instant { tv_sec: 1594667, tv_nsec: 403612291 }
[2024-08-06T21:09:25Z INFO tinymist_query::syntax::lexical_hierarchy] lexical hierarchy analysis took 494.208µs
[2024-08-06T21:09:25Z INFO sync_lsp] handled textDocument/foldingRange - (10) in 12.85ms
[2024-08-06T21:09:25Z INFO typst_preview] Peer address: 127.0.0.1:57700
[2024-08-06T21:09:25Z INFO typst_preview] New WebSocket connection: 127.0.0.1:57700
[2024-08-06T21:09:25Z DEBUG typst_preview::actor::render] OutlineRenderActor: waiting for message
[2024-08-06T21:09:25Z DEBUG typst_preview::actor::render] RenderActor: waiting for message
[2024-08-06T21:09:25Z DEBUG typst_preview::actor::render] RenderActor: has_full_render: true
[2024-08-06T21:09:25Z INFO typst_preview::actor::render] RenderActor: document is not ready
[2024-08-06T21:09:25Z DEBUG typst_preview::actor::render] RenderActor: waiting for message
[2024-08-06T21:09:25Z DEBUG typst_preview::actor::render] OutlineRenderActor: received message: RenderFullLatest
[2024-08-06T21:09:25Z INFO typst_preview::actor::render] OutlineRenderActor: document is not ready
[2024-08-06T21:09:25Z DEBUG typst_preview::actor::render] OutlineRenderActor: waiting for message
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/codeLens - (11) at Instant { tv_sec: 1594667, tv_nsec: 700523708 }
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/semanticTokens/full - (12) at Instant { tv_sec: 1594667, tv_nsec: 700642416 }
[2024-08-06T21:09:25Z INFO sync_lsp] handled textDocument/semanticTokens/full - (12) in 1.19ms
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/cancelRequest - at Instant { tv_sec: 1594667, tv_nsec: 715011125 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/cancelRequest
[2024-08-06T21:09:25Z INFO sync_lsp] notifying $/cancelRequest - at Instant { tv_sec: 1594667, tv_nsec: 730641083 }
[2024-08-06T21:09:25Z WARN sync_lsp] unhandled notification: $/cancelRequest
[2024-08-06T21:09:25Z INFO sync_lsp] handling textDocument/codeAction - (13) at Instant { tv_sec: 1594667, tv_nsec: 730675750 }
[2024-08-06T21:09:26Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (8) in 898.90ms
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (6) in 1.04s
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (7) in 914.95ms
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (13) in 497.81ms
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (9) in 866.44ms
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/documentColor - (5) in 1.13s
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeLens - (11) in 530.40ms
[2024-08-06T21:09:26Z INFO typst_ts_compiler::diag::console] Some(/test.typ): compilation succeeded in 84.074ms
[2024-08-06T21:09:26Z INFO tinymist::actor::editor] received diagnostics from primary:5: diag(Some(0))
[2024-08-06T21:09:26Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] RenderActor: has_full_render: false
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] OutlineRenderActor: received message: RenderIncremental
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] OutlineRenderActor: sending outline
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] OutlineRenderActor: waiting for message
[2024-08-06T21:09:26Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 7.45525ms
[2024-08-06T21:09:26Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2024-08-06T21:09:26Z INFO sync_lsp] handling textDocument/codeLens - (14) at Instant { tv_sec: 1594668, tv_nsec: 335874291 }
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeLens - (14) in 1.94ms
[2024-08-06T21:09:26Z INFO typst_ts_compiler::diag::console] Some(/test.typ): compilation succeeded in 5.485ms
[2024-08-06T21:09:26Z INFO tinymist::actor::editor] received diagnostics from primary:6: diag(Some(0))
[2024-08-06T21:09:26Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] OutlineRenderActor: received message: RenderIncremental
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] OutlineRenderActor: sending outline
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] OutlineRenderActor: waiting for message
[2024-08-06T21:09:26Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 29.209µs
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] RenderActor: waiting for message
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] RenderActor: has_full_render: false
[2024-08-06T21:09:26Z DEBUG typst_preview::actor::render] RenderActor: waiting for message
[2024-08-06T21:09:26Z INFO sync_lsp] handling textDocument/codeAction - (15) at Instant { tv_sec: 1594668, tv_nsec: 453181625 }
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (15) in 126.92µs
[2024-08-06T21:09:26Z INFO sync_lsp] handling textDocument/codeAction - (16) at Instant { tv_sec: 1594668, tv_nsec: 870763791 }
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (16) in 93.75µs
[2024-08-06T21:09:26Z INFO sync_lsp] handling textDocument/codeAction - (17) at Instant { tv_sec: 1594668, tv_nsec: 922018875 }
[2024-08-06T21:09:26Z INFO sync_lsp] handled textDocument/codeAction - (17) in 112.88µs
[2024-08-06T21:09:27Z INFO sync_lsp] handling textDocument/foldingRange - (18) at Instant { tv_sec: 1594669, tv_nsec: 120426250 }
[2024-08-06T21:09:27Z INFO tinymist_query::syntax::lexical_hierarchy] lexical hierarchy analysis took 37.292µs
[2024-08-06T21:09:27Z INFO sync_lsp] handled textDocument/foldingRange - (18) in 123.21µs
[2024-08-06T21:09:27Z INFO sync_lsp] handling textDocument/semanticTokens/full/delta - (19) at Instant { tv_sec: 1594669, tv_nsec: 220650958 }
[2024-08-06T21:09:27Z INFO sync_lsp] handled textDocument/semanticTokens/full/delta - (19) in 68.21µs
[2024-08-06T21:09:27Z INFO sync_lsp] handling textDocument/codeAction - (20) at Instant { tv_sec: 1594669, tv_nsec: 678334958 }
[2024-08-06T21:09:27Z INFO sync_lsp] handled textDocument/codeAction - (20) in 133.54µs
[2024-08-06T21:09:27Z INFO sync_lsp] handling textDocument/documentSymbol - (21) at Instant { tv_sec: 1594669, tv_nsec: 679963250 }
[2024-08-06T21:09:27Z INFO tinymist_query::syntax::lexical_hierarchy] lexical hierarchy analysis took 24.792µs
[2024-08-06T21:09:27Z INFO sync_lsp] handled textDocument/documentSymbol - (21) in 354.00µs
[2024-08-06T21:09:27Z INFO sync_lsp] notifying $/setTrace - at Instant { tv_sec: 1594669, tv_nsec: 696519166 }
[2024-08-06T21:09:27Z WARN sync_lsp] unhandled notification: $/setTrace
[2024-08-06T21:09:27Z INFO sync_lsp] notifying workspace/didChangeConfiguration - at Instant { tv_sec: 1594669, tv_nsec: 696537208 }
[2024-08-06T21:09:27Z INFO sync_lsp] notifing workspace/didChangeConfiguration succeeded in 49.88µs
[2024-08-06T21:09:27Z INFO tinymist::init] preferred theme: Some("light") {"compileStatus": String("enable"), "exportPdf": String("never"), "fontPaths": Null, "formatterMode": String("disable"), "formatterPrintWidth": Number(120), "hoverPeriscope": Null, "outputPath": String(""), "preferredTheme": String("light"), "rootPath": Null, "semanticTokens": String("enable"), "systemFonts": Bool(true), "typstExtraArgs": Array []}
[2024-08-06T21:09:27Z INFO tinymist::server] new settings applied
[2024-08-06T21:09:40Z INFO sync_lsp] handling workspace/executeCommand - (22) at Instant { tv_sec: 1594682, tv_nsec: 557928250 }
[2024-08-06T21:09:40Z INFO sync_lsp] handled workspace/executeCommand - (22) in 110.96µs
[2024-08-06T21:09:41Z INFO sync_lsp] handling workspace/executeCommand - (23) at Instant { tv_sec: 1594683, tv_nsec: 643293750 }
[2024-08-06T21:09:41Z INFO sync_lsp] handled workspace/executeCommand - (23) in 59.17µs
[2024-08-06T21:09:45Z INFO sync_lsp] handling workspace/executeCommand - (24) at Instant { tv_sec: 1594687, tv_nsec: 103070791 }
[2024-08-06T21:09:45Z INFO sync_lsp] handled workspace/executeCommand - (24) in 20.13µs
[2024-08-06T21:09:48Z INFO sync_lsp] handling workspace/executeCommand - (25) at Instant { tv_sec: 1594690, tv_nsec: 529768583 }
[2024-08-06T21:09:48Z INFO sync_lsp] handled workspace/executeCommand - (25) in 234.67µs
[2024-08-06T21:09:48Z INFO sync_lsp] handling workspace/executeCommand - (26) at Instant { tv_sec: 1594690, tv_nsec: 911521041 }
[2024-08-06T21:09:48Z INFO sync_lsp] handled workspace/executeCommand - (26) in 26.67µs
tinymist client log(Help -> Toggle Developer Tools -> Console):
workbench.desktop.main.js:sourcemap:660 INFO Started local extension host with pid 69392.
2workbench.desktop.main.js:sourcemap:97 [Extension Host] determineVscodeTheme 1
workbench.desktop.main.js:sourcemap:97 [Extension Host] vscodeVariables test: Object
workbench.desktop.main.js:sourcemap:97 [Extension Host] validate /Users/carlos/.vscode/extensions/myriad-dreamin.tinymist-0.11.18-darwin-arm64/out/tinymist args Array(1)
workbench.desktop.main.js:sourcemap:97 [Extension Host] deserializeWebviewPanel Object
workbench.desktop.main.js:sourcemap:97 [Extension Host] Preview Command /Users/carlos/Desktop/test.typ
workbench.desktop.main.js:sourcemap:97 [Extension Host] Launched preview, data plane port:57697, static server port:57698
workbench.desktop.main.js:sourcemap:1509 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ workbench.desktop.main.js:sourcemap:1509
12workbench.desktop.main.js:sourcemap:97 [Extension Host] determineVscodeTheme 1
VM7:12 state eyJtb2RlIjoiZG9jIiwiYXNQcmltYXJ5IjpmYWxzZSwidXJpIjoiZmlsZTovLy9Vc2Vycy9jYXJsb3MvRGVza3RvcC90ZXN0LnR5cCJ9
VM7:16 vscode_state Object
VM8:5842 plugin initialized, build info: Object
VM8:5728 WebSocket connection opened WebSocket
VM8:5763 batch 2 messages
VM8:5784 recv partial-rendering 22
VM8:5821 Experimental feature: partial rendering enabled
VM8:5784 recv invert-colors 19
VM8:5827 Experimental feature: invert colors strategy taken: never
workbench.desktop.main.js:sourcemap:660 WARN Semantic token with invalid length detected at lineNumber 7, column 1
VM8:5763 batch 2 messages
VM8:5784 recv diff-v1 7052
VM8:5784 recv diff-v1 196
VM8:1387 render_in_window with partial rendering enabled window 1.1064618759438893 130.56250136137893 119.49788260194005 594.1700273818685 838.6981019654681 , patch scale 11067
VM8:368 parse 3.30 ms, rerender 8.40 ms, total 11.70 ms
VM8:1830 updateCanvas start
VM8:1870 updateCanvas done 0.10000014305114746
2workbench.desktop.main.js:sourcemap:97 [Extension Host] determineVscodeTheme 1
workbench.desktop.main.js:sourcemap:660 INFO [perf] Render performance baseline is 15ms
VM8:1387 render_in_window with partial rendering enabled window 1.1078066914498141 130.72118959107806 119.64312267657992 594.8921933085502 583.8141263940521 , patch scale 518
VM8:368 parse 0.00 ms, rerender 2.40 ms, total 2.40 ms
VM8:1830 updateCanvas start
VM8:1870 updateCanvas done 0
workbench.desktop.main.js:sourcemap:97 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#1-Tinymist Typst Language Server
VM8:1387 render_in_window with partial rendering enabled window 2.2835249042145596 269.455938697318 246.62068965517244 593.7164750957855 1203.4176245210729 , patch scale 518
VM8:368 parse 0.00 ms, rerender 3.40 ms, total 3.40 ms
VM8:1830 updateCanvas start
VM8:1870 updateCanvas done 0.20000004768371582