Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

high CPU usage oninput besides preview refreshing being set to onsave #1109

Open
AdiWeit opened this issue Jan 4, 2025 · 7 comments
Open
Labels
enhancement New feature or request

Comments

@AdiWeit
Copy link

AdiWeit commented Jan 4, 2025

Describe the bug
To be honest I'm not really sure if it's a bug or a feature (I hopefully can turn off), but when typing in VS-Code, the CPU usage goes up segnificantly, although I have set the preview refreshing to onsave. I don't see the changes in the preview, so that part seems to be working as intended. Maybe there's another feature that is active during typing that need a segnificant amount of CPU power? I that case, it would be nice to know which feature it is to be able to turn it off. (I tried most of the settings already, but at least changing one at a time semms to have no impact).

Package/Software version:

VSCode version(Help -> About):

Version: 1.96.2
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
Date: 2024-12-19T10:22:47.216Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 5.4.0-196-generic

tinymist extension version: v0.12.16.
running tinymist --version in terminal in the directory I'm working in or my home directory does unfortunately not work (command not found). If you describe in more detail where to enter it or what to do, I will be glad to show you the details of the version.

logs while typing:
Logs:

tinymist server log(Output Panel -> tinymist):

[2025-01-04T17:00:03Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25063, tv_nsec: 585677789 }
[2025-01-04T17:00:03Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 157.28µs
[2025-01-04T17:00:03Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:03Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 6.641124ms
[2025-01-04T17:00:03Z INFO  tinymist::actor::editor] received diagnostics from primary:2090: diag(Some(0))
[2025-01-04T17:00:03Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:03Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 1.932643ms
[2025-01-04T17:00:03Z INFO  sync_lsp] handling textDocument/completion - (6474) at Instant { tv_sec: 25063, tv_nsec: 657135730 }
[2025-01-04T17:00:03Z INFO  tinymist_query::analysis::global] analysis revision 2090 is created
[2025-01-04T17:00:03Z INFO  sync_lsp] handled  textDocument/completion - (6474) in 2.39ms
[2025-01-04T17:00:03Z INFO  tinymist_query::analysis::global] analysis revision 2088 is dropped
[2025-01-04T17:00:03Z INFO  sync_lsp] handling textDocument/foldingRange - (6475) at Instant { tv_sec: 25063, tv_nsec: 806779730 }
[2025-01-04T17:00:03Z INFO  sync_lsp] handled  textDocument/foldingRange - (6475) in 2.15ms
[2025-01-04T17:00:03Z INFO  sync_lsp] handling textDocument/codeAction - (6476) at Instant { tv_sec: 25063, tv_nsec: 842658453 }
[2025-01-04T17:00:03Z INFO  sync_lsp] handled  textDocument/codeAction - (6476) in 269.33µs
[2025-01-04T17:00:03Z INFO  sync_lsp] handling textDocument/codeLens - (6477) at Instant { tv_sec: 25063, tv_nsec: 844941778 }
[2025-01-04T17:00:03Z INFO  sync_lsp] handled  textDocument/codeLens - (6477) in 282.70µs
[2025-01-04T17:00:03Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6478) at Instant { tv_sec: 25063, tv_nsec: 925155494 }
[2025-01-04T17:00:03Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6478) in 1.65ms
[2025-01-04T17:00:03Z INFO  sync_lsp] handling textDocument/documentSymbol - (6479) at Instant { tv_sec: 25063, tv_nsec: 937233391 }
[2025-01-04T17:00:03Z INFO  sync_lsp] handled  textDocument/documentSymbol - (6479) in 1.20ms
[2025-01-04T17:00:04Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25064, tv_nsec: 97628086 }
[2025-01-04T17:00:04Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 152.13µs
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:04Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 22.28917ms
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received diagnostics from primary:2091: diag(Some(0))
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:04Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 1.530921ms
[2025-01-04T17:00:04Z INFO  sync_lsp] handling textDocument/foldingRange - (6480) at Instant { tv_sec: 25064, tv_nsec: 307921359 }
[2025-01-04T17:00:04Z INFO  sync_lsp] handled  textDocument/foldingRange - (6480) in 2.11ms
[2025-01-04T17:00:04Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25064, tv_nsec: 460167594 }
[2025-01-04T17:00:04Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 248.29µs
[2025-01-04T17:00:04Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6481) at Instant { tv_sec: 25064, tv_nsec: 460468834 }
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:04Z INFO  tinymist_query::analysis::global] analysis revision 2092 is created
[2025-01-04T17:00:04Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6481) in 3.90ms
[2025-01-04T17:00:04Z INFO  tinymist_query::analysis::global] analysis revision 2089 is dropped
[2025-01-04T17:00:04Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.074147ms
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received diagnostics from primary:2092: diag(Some(0))
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:04Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 690.304µs
[2025-01-04T17:00:04Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25064, tv_nsec: 513709091 }
[2025-01-04T17:00:04Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 91.23µs
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:04Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.452553ms
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received diagnostics from primary:2093: diag(Some(0))
[2025-01-04T17:00:04Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:04Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 104.213µs
[2025-01-04T17:00:04Z INFO  sync_lsp] handling textDocument/documentColor - (6482) at Instant { tv_sec: 25064, tv_nsec: 699855439 }
[2025-01-04T17:00:04Z INFO  tinymist_query::analysis::global] analysis revision 2093 is created
[2025-01-04T17:00:04Z INFO  sync_lsp] handled  textDocument/documentColor - (6482) in 2.59ms
[2025-01-04T17:00:04Z INFO  tinymist_query::analysis::global] analysis revision 2090 is dropped
[2025-01-04T17:00:04Z INFO  sync_lsp] handling textDocument/foldingRange - (6483) at Instant { tv_sec: 25064, tv_nsec: 727776270 }
[2025-01-04T17:00:04Z INFO  sync_lsp] handled  textDocument/foldingRange - (6483) in 1.11ms
[2025-01-04T17:00:04Z INFO  sync_lsp] handling textDocument/codeLens - (6484) at Instant { tv_sec: 25064, tv_nsec: 928498746 }
[2025-01-04T17:00:04Z INFO  sync_lsp] handled  textDocument/codeLens - (6484) in 326.17µs
[2025-01-04T17:00:04Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6485) at Instant { tv_sec: 25064, tv_nsec: 939402471 }
[2025-01-04T17:00:04Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6485) in 3.65ms
[2025-01-04T17:00:04Z INFO  sync_lsp] handling textDocument/documentSymbol - (6486) at Instant { tv_sec: 25064, tv_nsec: 943300412 }
[2025-01-04T17:00:04Z INFO  sync_lsp] handled  textDocument/documentSymbol - (6486) in 3.04ms
[2025-01-04T17:00:05Z INFO  sync_lsp] handling textDocument/documentLink - (6487) at Instant { tv_sec: 25065, tv_nsec: 534275290 }
[2025-01-04T17:00:05Z INFO  sync_lsp] handled  textDocument/documentLink - (6487) in 1.84ms
[2025-01-04T17:00:07Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25067, tv_nsec: 883791115 }
[2025-01-04T17:00:07Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 493.48µs
[2025-01-04T17:00:07Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:07Z INFO  sync_lsp] handling textDocument/completion - (6488) at Instant { tv_sec: 25067, tv_nsec: 904685199 }
[2025-01-04T17:00:07Z INFO  tinymist_query::analysis::global] analysis revision 2094 is created
[2025-01-04T17:00:07Z INFO  tinymist_query::analysis::global] analysis revision 2092 is dropped
[2025-01-04T17:00:07Z INFO  sync_lsp] handled  textDocument/completion - (6488) in 8.59ms
[2025-01-04T17:00:07Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 31.410976ms
[2025-01-04T17:00:07Z INFO  tinymist::actor::editor] received diagnostics from primary:2094: diag(Some(0))
[2025-01-04T17:00:07Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:07Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 239.501µs
[2025-01-04T17:00:08Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25068, tv_nsec: 103396983 }
[2025-01-04T17:00:08Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 90.53µs
[2025-01-04T17:00:08Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.145801ms
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:08Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 103.525µs
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received diagnostics from primary:2095: diag(Some(0))
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:08Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25068, tv_nsec: 210893576 }
[2025-01-04T17:00:08Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 84.84µs
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:08Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.361114ms
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received diagnostics from primary:2096: diag(Some(0))
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:08Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 87.185µs
[2025-01-04T17:00:08Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6489) at Instant { tv_sec: 25068, tv_nsec: 225700509 }
[2025-01-04T17:00:08Z INFO  tinymist_query::analysis::global] analysis revision 2096 is created
[2025-01-04T17:00:08Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6489) in 3.07ms
[2025-01-04T17:00:08Z INFO  tinymist_query::analysis::global] analysis revision 2093 is dropped
[2025-01-04T17:00:08Z INFO  sync_lsp] handling textDocument/foldingRange - (6490) at Instant { tv_sec: 25068, tv_nsec: 395618512 }
[2025-01-04T17:00:08Z INFO  sync_lsp] handled  textDocument/foldingRange - (6490) in 1.83ms
[2025-01-04T17:00:08Z INFO  sync_lsp] handling textDocument/codeAction - (6491) at Instant { tv_sec: 25068, tv_nsec: 452348577 }
[2025-01-04T17:00:08Z INFO  sync_lsp] handled  textDocument/codeAction - (6491) in 545.09µs
[2025-01-04T17:00:08Z INFO  sync_lsp] handling textDocument/codeLens - (6492) at Instant { tv_sec: 25068, tv_nsec: 453273587 }
[2025-01-04T17:00:08Z INFO  sync_lsp] handled  textDocument/codeLens - (6492) in 479.85µs
[2025-01-04T17:00:08Z INFO  sync_lsp] handling textDocument/documentSymbol - (6493) at Instant { tv_sec: 25068, tv_nsec: 564820710 }
[2025-01-04T17:00:08Z INFO  sync_lsp] handled  textDocument/documentSymbol - (6493) in 957.71µs
[2025-01-04T17:00:08Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25068, tv_nsec: 817607790 }
[2025-01-04T17:00:08Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 545.54µs
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:08Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 18.638204ms
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received diagnostics from primary:2097: diag(Some(0))
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:08Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 431.449µs
[2025-01-04T17:00:08Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25068, tv_nsec: 913187575 }
[2025-01-04T17:00:08Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 124.50µs
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:08Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 8.188668ms
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received diagnostics from primary:2098: diag(Some(0))
[2025-01-04T17:00:08Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:08Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 326.063µs
[2025-01-04T17:00:08Z INFO  sync_lsp] handling textDocument/documentColor - (6494) at Instant { tv_sec: 25068, tv_nsec: 950363274 }
[2025-01-04T17:00:08Z INFO  tinymist_query::analysis::global] analysis revision 2098 is created
[2025-01-04T17:00:08Z INFO  sync_lsp] handled  textDocument/documentColor - (6494) in 529.68µs
[2025-01-04T17:00:08Z INFO  tinymist_query::analysis::global] analysis revision 2094 is dropped
[2025-01-04T17:00:08Z INFO  sync_lsp] handling textDocument/completion - (6495) at Instant { tv_sec: 25068, tv_nsec: 958974540 }
[2025-01-04T17:00:08Z INFO  sync_lsp] handled  textDocument/completion - (6495) in 2.83ms
[2025-01-04T17:00:09Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25069, tv_nsec: 70424534 }
[2025-01-04T17:00:09Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 89.93µs
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:09Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 3.962754ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received diagnostics from primary:2099: diag(Some(0))
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:09Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 85.728µs
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/completion - (6496) at Instant { tv_sec: 25069, tv_nsec: 106075971 }
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2099 is created
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2096 is dropped
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/completion - (6496) in 1.96ms
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6497) at Instant { tv_sec: 25069, tv_nsec: 116257702 }
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6497) in 1.90ms
[2025-01-04T17:00:09Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25069, tv_nsec: 180353236 }
[2025-01-04T17:00:09Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 144.42µs
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:09Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 8.919228ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received diagnostics from primary:2100: diag(Some(0))
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:09Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 344.828µs
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/completion - (6498) at Instant { tv_sec: 25069, tv_nsec: 292339136 }
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2100 is created
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/completion - (6498) in 3.57ms
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2098 is dropped
[2025-01-04T17:00:09Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25069, tv_nsec: 388997327 }
[2025-01-04T17:00:09Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 86.48µs
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:09Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.301857ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received diagnostics from primary:2101: diag(Some(0))
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:09Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 644.161µs
[2025-01-04T17:00:09Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25069, tv_nsec: 476848665 }
[2025-01-04T17:00:09Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 127.73µs
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:09Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 6.922672ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received diagnostics from primary:2102: diag(Some(0))
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:09Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 1.290633ms
[2025-01-04T17:00:09Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25069, tv_nsec: 566441634 }
[2025-01-04T17:00:09Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 96.91µs
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/completion - (6499) at Instant { tv_sec: 25069, tv_nsec: 566771813 }
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2103 is created
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6500) at Instant { tv_sec: 25069, tv_nsec: 566976970 }
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/completion - (6499) in 3.94ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2099 is dropped
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6500) in 9.41ms
[2025-01-04T17:00:09Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 10.71532ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received diagnostics from primary:2103: diag(Some(0))
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:09Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 275.864µs
[2025-01-04T17:00:09Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25069, tv_nsec: 641665484 }
[2025-01-04T17:00:09Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 84.67µs
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:09Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 5.380118ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received diagnostics from primary:2104: diag(Some(0))
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:09Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 88.926µs
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/foldingRange - (6501) at Instant { tv_sec: 25069, tv_nsec: 834337226 }
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/foldingRange - (6501) in 1.18ms
[2025-01-04T17:00:09Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25069, tv_nsec: 853513048 }
[2025-01-04T17:00:09Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 111.12µs
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:09Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 5.06329ms
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received diagnostics from primary:2105: diag(Some(0))
[2025-01-04T17:00:09Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:09Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 92.232µs
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/completion - (6502) at Instant { tv_sec: 25069, tv_nsec: 872082053 }
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2105 is created
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/completion - (6502) in 2.44ms
[2025-01-04T17:00:09Z INFO  tinymist_query::analysis::global] analysis revision 2100 is dropped
[2025-01-04T17:00:09Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6503) at Instant { tv_sec: 25069, tv_nsec: 937107609 }
[2025-01-04T17:00:09Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6503) in 1.71ms
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/foldingRange - (6504) at Instant { tv_sec: 25070, tv_nsec: 66058404 }
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/foldingRange - (6504) in 1.00ms
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/documentColor - (6505) at Instant { tv_sec: 25070, tv_nsec: 82270771 }
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/documentColor - (6505) in 501.35µs
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/codeAction - (6506) at Instant { tv_sec: 25070, tv_nsec: 176650739 }
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/codeLens - (6507) at Instant { tv_sec: 25070, tv_nsec: 176782491 }
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/codeAction - (6506) in 160.45µs
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/codeLens - (6507) in 144.59µs
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/documentSymbol - (6508) at Instant { tv_sec: 25070, tv_nsec: 295850374 }
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/documentSymbol - (6508) in 2.54ms
[2025-01-04T17:00:10Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25070, tv_nsec: 344038268 }
[2025-01-04T17:00:10Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 137.54µs
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/completion - (6509) at Instant { tv_sec: 25070, tv_nsec: 344190689 }
[2025-01-04T17:00:10Z INFO  tinymist_query::analysis::global] analysis revision 2106 is created
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/completion - (6509) in 1.90ms
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:10Z INFO  tinymist_query::analysis::global] analysis revision 2103 is dropped
[2025-01-04T17:00:10Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 5.490496ms
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received diagnostics from primary:2106: diag(Some(0))
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:10Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 101.117µs
[2025-01-04T17:00:10Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25070, tv_nsec: 497725437 }
[2025-01-04T17:00:10Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 96.09µs
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:10Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.549951ms
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received diagnostics from primary:2107: diag(Some(0))
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:10Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 92.073µs
[2025-01-04T17:00:10Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25070, tv_nsec: 661898421 }
[2025-01-04T17:00:10Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 101.02µs
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:10Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.305449ms
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received diagnostics from primary:2108: diag(Some(0))
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:10Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 115.737µs
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6510) at Instant { tv_sec: 25070, tv_nsec: 668346456 }
[2025-01-04T17:00:10Z INFO  tinymist_query::analysis::global] analysis revision 2108 is created
[2025-01-04T17:00:10Z INFO  tinymist_query::analysis::global] analysis revision 2105 is dropped
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6510) in 6.55ms
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/completion - (6511) at Instant { tv_sec: 25070, tv_nsec: 682316988 }
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/completion - (6511) in 609.04µs
[2025-01-04T17:00:10Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25070, tv_nsec: 813331530 }
[2025-01-04T17:00:10Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 87.24µs
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:10Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 3.643641ms
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received diagnostics from primary:2109: diag(Some(0))
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:10Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 434.041µs
[2025-01-04T17:00:10Z INFO  sync_lsp] handling textDocument/completion - (6512) at Instant { tv_sec: 25070, tv_nsec: 841305030 }
[2025-01-04T17:00:10Z INFO  tinymist_query::analysis::global] analysis revision 2109 is created
[2025-01-04T17:00:10Z INFO  sync_lsp] handled  textDocument/completion - (6512) in 2.58ms
[2025-01-04T17:00:10Z INFO  tinymist_query::analysis::global] analysis revision 2106 is dropped
[2025-01-04T17:00:10Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25070, tv_nsec: 858527450 }
[2025-01-04T17:00:10Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 93.14µs
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:10Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.766084ms
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received diagnostics from primary:2110: diag(Some(0))
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:10Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 101.449µs
[2025-01-04T17:00:10Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25070, tv_nsec: 994863160 }
[2025-01-04T17:00:10Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 102.34µs
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:10Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 3.083795ms
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received diagnostics from primary:2111: diag(Some(0))
[2025-01-04T17:00:10Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:10Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 97.987µs
[2025-01-04T17:00:11Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25071, tv_nsec: 92134953 }
[2025-01-04T17:00:11Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 115.01µs
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 5.637698ms
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received diagnostics from primary:2112: diag(Some(0))
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 553.152µs
[2025-01-04T17:00:11Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25071, tv_nsec: 129906597 }
[2025-01-04T17:00:11Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 69.64µs
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO  sync_lsp] handling textDocument/semanticTokens/full/delta - (6513) at Instant { tv_sec: 25071, tv_nsec: 133172541 }
[2025-01-04T17:00:11Z INFO  tinymist_query::analysis::global] analysis revision 2113 is created
[2025-01-04T17:00:11Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 6.324331ms
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received diagnostics from primary:2113: diag(Some(0))
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 414.176µs
[2025-01-04T17:00:11Z INFO  tinymist_query::analysis::global] analysis revision 2108 is dropped
[2025-01-04T17:00:11Z INFO  sync_lsp] handled  textDocument/semanticTokens/full/delta - (6513) in 5.35ms
[2025-01-04T17:00:11Z INFO  sync_lsp] handling textDocument/completion - (6514) at Instant { tv_sec: 25071, tv_nsec: 198463893 }
[2025-01-04T17:00:11Z INFO  sync_lsp] handled  textDocument/completion - (6514) in 520.43µs
[2025-01-04T17:00:11Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25071, tv_nsec: 347043850 }
[2025-01-04T17:00:11Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 98.53µs
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.725131ms
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received diagnostics from primary:2114: diag(Some(0))
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO  tinymist::task::cache] CacheEvictTask: evict cache in 98.827µs
[2025-01-04T17:00:11Z INFO  sync_lsp] handling textDocument/documentColor - (6515) at Instant { tv_sec: 25071, tv_nsec: 366704489 }
[2025-01-04T17:00:11Z INFO  tinymist_query::analysis::global] analysis revision 2114 is created
[2025-01-04T17:00:11Z INFO  tinymist_query::analysis::global] analysis revision 2109 is dropped
[2025-01-04T17:00:11Z INFO  sync_lsp] handled  textDocument/documentColor - (6515) in 2.77ms
[2025-01-04T17:00:11Z INFO  sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25071, tv_nsec: 505636838 }
[2025-01-04T17:00:11Z INFO  sync_lsp] notifing textDocument/didChange succeeded in 88.48µs
[2025-01-04T17:00:11Z INFO  tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO  reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.603609ms

tinymist client log(Help -> Toggle Developer Tools -> Console):


log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-selfhost-test-provider' wants API proposal 'attributableCoverage' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:435  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.debugpy' wants API proposal 'contribIssueReporter' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
log.ts:435  WARN Creation of workbench contribution 'workbench.chat.autoSaveDisabler' took 49ms.
log.ts:425  INFO Started local extension host with pid 5780.
log.ts:425  INFO Settings Sync: Account status changed from uninitialized to unavailable
www.vscode-unpkg.net/_gallery/nvarner/typst-lsp/latest:1 
        
        
       Failed to load resource: the server responded with a status of 404 ()
console.ts:137 [Extension Host] javascript
console.ts:137 [Extension Host] javascriptreact
console.ts:137 [Extension Host] typescript
console.ts:137 [Extension Host] typescriptreact
console.ts:137 [Extension Host] postcss
console.ts:137 [Extension Host] xml
console.ts:137 [Extension Host] html
console.ts:137 [Extension Host] active
log.ts:435  WARN Error getting latest version of the extension nvarner.typst-lsp 404
log.ts:425  INFO [perf] Render performance baseline is 169ms
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///usr/share/code/resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/redhat.java-1.38.0-linux-x64/language-support/java/java.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.groovy.
Old grammar file: file:///usr/share/code/resources/app/extensions/groovy/syntaxes/groovy.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/vscjava.vscode-gradle-3.16.4/syntaxes/groovy.tmLanguage.json
register @ TMScopeRegistry.ts:46
VM4 sandbox_bundle:29 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///usr/share/code/resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/redhat.java-1.38.0-linux-x64/language-support/java/java.tmLanguage.json
register @ VM4 sandbox_bundle:29
VM4 sandbox_bundle:29 Overwriting grammar scope name to file mapping for scope source.groovy.
Old grammar file: file:///usr/share/code/resources/app/extensions/groovy/syntaxes/groovy.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/vscjava.vscode-gradle-3.16.4/syntaxes/groovy.tmLanguage.json
register @ VM4 sandbox_bundle:29
console.ts:137 [Extension Host] Setting up language configuration true
notificationsAlerts.ts:42 Failed to activate typst-lsp: Error: command 'typst-lsp.pinMainToCurrent' already exists
c @ notificationsAlerts.ts:42
mainThreadExtensionService.ts:107 Activating extension 'nvarner.typst-lsp' failed: command 'typst-lsp.pinMainToCurrent' already exists.
$onExtensionActivationError @ mainThreadExtensionService.ts:107
console.ts:137 [Extension Host] Preview Command /home/adi/Data/Programmieren/Typst/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ
console.ts:137 [Extension Host] Launched preview, data plane port:41917, static server port:41917
32An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
console.ts:137 [Extension Host] scan labels again
notificationsAlerts.ts:40 TypeError: n is not iterable
c @ notificationsAlerts.ts:40
console.ts:137 [Extension Host] postActivateSent Object
console.ts:137 [Extension Host] onDidReceiveMessage Object
console.ts:137 [Extension Host] postActivateSent Object
console.ts:137 [Extension Host] recv editorScrollTo request Object active false documents Array(3)
console.ts:137 [Extension Host] recv editorScrollTo request Object active false documents Array(3)
console.ts:137 [Extension Host] recv editorScrollTo request Object active true documents Array(3)
console.ts:137 [Extension Host] recv editorScrollTo request Object active true documents Array(3)
console.ts:137 [Extension Host] recv editorScrollTo request Object active false documents Array(3)
console.ts:137 [Extension Host] recv editorScrollTo request Object active true documents Array(3)
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:425  INFO Started local extension host with pid 62771.
console.ts:137 [Extension Host] Setting up language configuration true
console.ts:137 [Extension Host] javascript
console.ts:137 [Extension Host] javascriptreact
console.ts:137 [Extension Host] typescript
console.ts:137 [Extension Host] typescriptreact
console.ts:137 [Extension Host] postcss
console.ts:137 [Extension Host] xml
console.ts:137 [Extension Host] html
console.ts:137 [Extension Host] active
3log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
notificationsAlerts.ts:42 Failed to activate typst-lsp: Error: command 'typst-lsp.pinMainToCurrent' already exists
c @ notificationsAlerts.ts:42
mainThreadExtensionService.ts:107 Activating extension 'nvarner.typst-lsp' failed: command 'typst-lsp.pinMainToCurrent' already exists.
$onExtensionActivationError @ mainThreadExtensionService.ts:107
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///usr/share/code/resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/redhat.java-1.38.0-linux-x64/language-support/java/java.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.groovy.
Old grammar file: file:///usr/share/code/resources/app/extensions/groovy/syntaxes/groovy.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/vscjava.vscode-gradle-3.16.4/syntaxes/groovy.tmLanguage.json
register @ TMScopeRegistry.ts:46
log.ts:425  INFO Started local extension host with pid 63554.
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
console.ts:137 [Extension Host] javascript
console.ts:137 [Extension Host] javascriptreact
console.ts:137 [Extension Host] typescript
console.ts:137 [Extension Host] typescriptreact
console.ts:137 [Extension Host] postcss
console.ts:137 [Extension Host] xml
console.ts:137 [Extension Host] html
console.ts:137 [Extension Host] active
log.ts:435  WARN Overlapping semantic tokens detected at lineNumber 12, column 1
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///usr/share/code/resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/redhat.java-1.38.0-linux-x64/language-support/java/java.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.groovy.
Old grammar file: file:///usr/share/code/resources/app/extensions/groovy/syntaxes/groovy.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/vscjava.vscode-gradle-3.16.4/syntaxes/groovy.tmLanguage.json
register @ TMScopeRegistry.ts:46
console.ts:137 [Extension Host] Setting up language configuration true
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: command 'typst-lsp.pinMainToCurrent' already exists
EYi @ console.ts:137
console.ts:137 [Extension Host] stack trace: Error: command 'typst-lsp.pinMainToCurrent' already exists
	at cw.registerCommand (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:31527)
	at Object.registerCommand (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:157:36729)
	at L0 (/home/adi/.vscode/extensions/myriad-dreamin.tinymist-0.12.16-linux-x64/out/extension.js:71:2811)
	at xh (/home/adi/.vscode/extensions/myriad-dreamin.tinymist-0.12.16-linux-x64/out/extension.js:71:138)
	at N0 (/home/adi/.vscode/extensions/myriad-dreamin.tinymist-0.12.16-linux-x64/out/extension.js:69:132)
	at Pw.kb (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:15214)
	at Pw.jb (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:14921)
	at file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:13079
	at async K0.n (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4447)
	at async K0.m (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4410)
	at async K0.l (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:3866)
EYi @ console.ts:137
mainThreadExtensionService.ts:78 [myriad-dreamin.tinymist]command 'typst-lsp.pinMainToCurrent' already exists
$onExtensionRuntimeError @ mainThreadExtensionService.ts:78
mainThreadExtensionService.ts:79 Error: command 'typst-lsp.pinMainToCurrent' already exists
	at cw.registerCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:31527)
	at Object.registerCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:157:36729)
	at L0 (vscode-file://vscode-app/home/adi/.vscode/extensions/myriad-dreamin.tinymist-0.12.16-linux-x64/out/extension.js:71:2811)
	at xh (vscode-file://vscode-app/home/adi/.vscode/extensions/myriad-dreamin.tinymist-0.12.16-linux-x64/out/extension.js:71:138)
	at N0 (vscode-file://vscode-app/home/adi/.vscode/extensions/myriad-dreamin.tinymist-0.12.16-linux-x64/out/extension.js:69:132)
	at Pw.kb (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:15214)
	at Pw.jb (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:14921)
	at /usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:119:13079
	at async K0.n (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4447)
	at async K0.m (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4410)
	at async K0.l (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:3866)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:79
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///usr/share/code/resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/redhat.java-1.38.0-linux-x64/language-support/java/java.tmLanguage.json
register @ TMScopeRegistry.ts:46
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope source.groovy.
Old grammar file: file:///usr/share/code/resources/app/extensions/groovy/syntaxes/groovy.tmLanguage.json.
New grammar file: file:///home/adi/.vscode/extensions/vscjava.vscode-gradle-3.16.4/syntaxes/groovy.tmLanguage.json
register @ TMScopeRegistry.ts:46
log.ts:425  INFO Started local extension host with pid 63952.
console.ts:137 [Extension Host] Setting up language configuration true
console.ts:137 [Extension Host] javascript
console.ts:137 [Extension Host] javascriptreact
console.ts:137 [Extension Host] typescript
console.ts:137 [Extension Host] typescriptreact
console.ts:137 [Extension Host] postcss
console.ts:137 [Extension Host] xml
console.ts:137 [Extension Host] html
console.ts:137 [Extension Host] active
console.ts:137 [Extension Host] Preview Command /home/adi/Data/Programmieren/Typst/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ
console.ts:137 [Extension Host] Launched preview, data plane port:32843, static server port:32843
3console.ts:137 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#4-Tinymist Typst
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
2console.ts:137 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#4-Tinymist Typst
console.ts:137 [Extension Host] scan labels again
notificationsAlerts.ts:40 TypeError: n is not iterable
c @ notificationsAlerts.ts:40
console.ts:137 [Extension Host] postActivateSent Object
console.ts:137 [Extension Host] onDidReceiveMessage Object
console.ts:137 [Extension Host] recv editorScrollTo request Object active false documents Array(3)
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
33console.ts:137 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#4-Tinymist Typst
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/nvarner.typst-lsp'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
11console.ts:137 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#4-Tinymist Typst
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
2console.ts:137 [Extension Host] skip extension-output file extension-output-myriad-dreamin.tinymist-#4-Tinymist Typst
console.ts:137 [Extension Host] recv editorScrollTo request Object active false documents Array(4)
console.ts:137 [Extension Host] recv editorScrollTo request Object active true documents Array(4)
console.ts:137 [Extension Host] recv editorScrollTo request Object active false documents Array(4)
console.ts:137 [Extension Host] recv editorScrollTo request Object active false documents Array(4)
console.ts:137 [Extension Host] killed preview services
console.ts:137 [Extension Host] postActivateSent Object
console.ts:137 [Extension Host] No dispose function found for task hjmko
EYi @ console.ts:137
console.ts:137 [Extension Host] Preview Command /home/adi/Data/Programmieren/Typst/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ
console.ts:137 [Extension Host] Launched preview, data plane port:40909, static server port:40909
console.ts:137 [Extension Host] postActivateSent Object
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)
log.ts:445   ERR TreeError [DebugRepl] Tree input not set: Error: TreeError [DebugRepl] Tree input not set
    at lf.C (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:415:28817)
    at lf.updateChildren (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:415:28724)
    at oee.value (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2038:35810)
    at x.B (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:748)
    at x.C (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:818)
    at x.fire (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:30:1036)
    at Rbe.setVisible (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:518:2801)
    at vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:780:11845
    at Array.map (<anonymous>)
    at jh.setVisible (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:780:11836)
log.ts:435  WARN Settings pattern "issueReporter.*" doesn't match any settings
log.ts:435  WARN Settings pattern "GitHub.copilot.manageExtension" doesn't match any settings
log.ts:445   ERR Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist': Error: Unable to resolve nonexistent file 'vscode-userdata:/home/adi/.config/Code/User/globalStorage/myriad-dreamin.tinymist'
    at _ot.resolve (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:3108:60549)
    at async BTt (vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:480:44682)

**Additional context**
Add any other context about the problem here.
@AdiWeit
Copy link
Author

AdiWeit commented Jan 4, 2025

I couldn't write all the logs because of character constrains, so here's the rest of it:
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received diagnostics from primary:2115: diag(Some(0))
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 500.642µs
[2025-01-04T17:00:11Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25071, tv_nsec: 593177938 }
[2025-01-04T17:00:11Z INFO sync_lsp] notifing textDocument/didChange succeeded in 80.96µs
[2025-01-04T17:00:11Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.621324ms
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 406.563µs
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received diagnostics from primary:2116: diag(Some(0))
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25071, tv_nsec: 697515211 }
[2025-01-04T17:00:11Z INFO sync_lsp] notifing textDocument/didChange succeeded in 96.50µs
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 16.379952ms
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received diagnostics from primary:2117: diag(Some(0))
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 393.05µs
[2025-01-04T17:00:11Z INFO sync_lsp] handling textDocument/semanticTokens/full/delta - (6516) at Instant { tv_sec: 25071, tv_nsec: 828836903 }
[2025-01-04T17:00:11Z INFO tinymist_query::analysis::global] analysis revision 2117 is created
[2025-01-04T17:00:11Z INFO sync_lsp] handled textDocument/semanticTokens/full/delta - (6516) in 3.13ms
[2025-01-04T17:00:11Z INFO tinymist_query::analysis::global] analysis revision 2113 is dropped
[2025-01-04T17:00:11Z INFO sync_lsp] handling textDocument/completion - (6517) at Instant { tv_sec: 25071, tv_nsec: 843430951 }
[2025-01-04T17:00:11Z INFO sync_lsp] handled textDocument/completion - (6517) in 471.66µs
[2025-01-04T17:00:11Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25071, tv_nsec: 896821518 }
[2025-01-04T17:00:11Z INFO sync_lsp] notifing textDocument/didChange succeeded in 81.37µs
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 7.473814ms
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received diagnostics from primary:2118: diag(Some(0))
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 1.218508ms
[2025-01-04T17:00:11Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25072, tv_nsec: 12264931 }
[2025-01-04T17:00:11Z INFO sync_lsp] notifing textDocument/didChange succeeded in 267.70µs
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:11Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 5.31852ms
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received diagnostics from primary:2119: diag(Some(0))
[2025-01-04T17:00:11Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:11Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 549.516µs
[2025-01-04T17:00:12Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25072, tv_nsec: 179969030 }
[2025-01-04T17:00:12Z INFO sync_lsp] notifing textDocument/didChange succeeded in 254.26µs
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:12Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 20.088572ms
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received diagnostics from primary:2120: diag(Some(0))
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:12Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 892.586µs
[2025-01-04T17:00:12Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25072, tv_nsec: 237507735 }
[2025-01-04T17:00:12Z INFO sync_lsp] notifing textDocument/didChange succeeded in 85.60µs
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:12Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 10.594055ms
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received diagnostics from primary:2121: diag(Some(0))
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:12Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 467.753µs
[2025-01-04T17:00:12Z INFO sync_lsp] handling textDocument/semanticTokens/full/delta - (6518) at Instant { tv_sec: 25072, tv_nsec: 293331039 }
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2121 is created
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2114 is dropped
[2025-01-04T17:00:12Z INFO sync_lsp] handled textDocument/semanticTokens/full/delta - (6518) in 4.36ms
[2025-01-04T17:00:12Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25072, tv_nsec: 332060175 }
[2025-01-04T17:00:12Z INFO sync_lsp] notifing textDocument/didChange succeeded in 101.31µs
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:12Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 8.840797ms
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received diagnostics from primary:2122: diag(Some(0))
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:12Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 476.253µs
[2025-01-04T17:00:12Z INFO sync_lsp] handling textDocument/completion - (6519) at Instant { tv_sec: 25072, tv_nsec: 390063026 }
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2122 is created
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2117 is dropped
[2025-01-04T17:00:12Z INFO sync_lsp] handled textDocument/completion - (6519) in 3.87ms
[2025-01-04T17:00:12Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25072, tv_nsec: 497952556 }
[2025-01-04T17:00:12Z INFO sync_lsp] notifing textDocument/didChange succeeded in 94.68µs
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:12Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.668285ms
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received diagnostics from primary:2123: diag(Some(0))
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:12Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 422.788µs
[2025-01-04T17:00:12Z INFO sync_lsp] handling textDocument/completion - (6520) at Instant { tv_sec: 25072, tv_nsec: 523244921 }
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2123 is created
[2025-01-04T17:00:12Z INFO sync_lsp] handled textDocument/completion - (6520) in 1.88ms
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2121 is dropped
[2025-01-04T17:00:12Z INFO sync_lsp] handling textDocument/documentColor - (6521) at Instant { tv_sec: 25072, tv_nsec: 552369705 }
[2025-01-04T17:00:12Z INFO sync_lsp] handled textDocument/documentColor - (6521) in 508.78µs
[2025-01-04T17:00:12Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25072, tv_nsec: 591507913 }
[2025-01-04T17:00:12Z INFO sync_lsp] notifing textDocument/didChange succeeded in 93.55µs
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:12Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 3.705568ms
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received diagnostics from primary:2124: diag(Some(0))
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:12Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 505.669µs
[2025-01-04T17:00:12Z INFO sync_lsp] handling textDocument/semanticTokens/full/delta - (6522) at Instant { tv_sec: 25072, tv_nsec: 647366139 }
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2124 is created
[2025-01-04T17:00:12Z INFO sync_lsp] handled textDocument/semanticTokens/full/delta - (6522) in 3.01ms
[2025-01-04T17:00:12Z INFO tinymist_query::analysis::global] analysis revision 2122 is dropped
[2025-01-04T17:00:12Z INFO sync_lsp] notifying textDocument/didChange - at Instant { tv_sec: 25072, tv_nsec: 778459090 }
[2025-01-04T17:00:12Z INFO sync_lsp] notifing textDocument/didChange succeeded in 85.12µs
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) Compiling
[2025-01-04T17:00:12Z INFO reflexo_typst::diag::console] Some(/Zusammenfassung Ana2/Ana2_Zusammenfassung.typ): compilation succeeded in 4.283653ms
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received diagnostics from primary:2125: diag(Some(0))
[2025-01-04T17:00:12Z INFO tinymist::actor::editor] received status request(primary) CompileSuccess
[2025-01-04T17:00:12Z INFO tinymist::task::cache] CacheEvictTask: evict cache in 579.233µs
[2025-01-04T17:00:12Z INFO sync_lsp] handling textDocument/foldingRange - (6523) at Instant { tv_sec: 25072, tv_nsec: 975196124 }
[2025-01-04T17:00:12Z INFO sync_lsp] handled textDocument/foldingRange - (6523) in 674.92µs
[2025-01-04T17:00:13Z INFO sync_lsp] handling textDocument/codeAction - (6524) at Instant { tv_sec: 25073, tv_nsec: 70993739 }
[2025-01-04T17:00:13Z INFO tinymist_query::analysis::global] analysis revision 2125 is created
[2025-01-04T17:00:13Z INFO sync_lsp] handled textDocument/codeAction - (6524) in 307.33µs
[2025-01-04T17:00:13Z INFO sync_lsp] handling textDocument/codeLens - (6525) at Instant { tv_sec: 25073, tv_nsec: 71335338 }
[2025-01-04T17:00:13Z INFO tinymist_query::analysis::global] analysis revision 2123 is dropped
[2025-01-04T17:00:13Z INFO sync_lsp] handled textDocument/codeLens - (6525) in 240.25µs
[2025-01-04T17:00:13Z INFO sync_lsp] handling textDocument/semanticTokens/full/delta - (6526) at Instant { tv_sec: 25073, tv_nsec: 74834831 }
[2025-01-04T17:00:13Z INFO sync_lsp] handled textDocument/semanticTokens/full/delta - (6526) in 2.62ms
[2025-01-04T17:00:13Z INFO sync_lsp] handling textDocument/documentSymbol - (6527) at Instant { tv_sec: 25073, tv_nsec: 124682428 }
[2025-01-04T17:00:13Z INFO sync_lsp] handled textDocument/documentSymbol - (6527) in 1.11ms
[2025-01-04T17:00:13Z INFO sync_lsp] handling textDocument/documentColor - (6528) at Instant { tv_sec: 25073, tv_nsec: 607260719 }
[2025-01-04T17:00:13Z INFO sync_lsp] handled textDocument/documentColor - (6528) in 1.20ms
[2025-01-04T17:00:13Z INFO sync_lsp] handling textDocument/documentLink - (6529) at Instant { tv_sec: 25073, tv_nsec: 790968247 }
[2025-01-04T17:00:13Z INFO sync_lsp] handled textDocument/documentLink - (6529) in 434.28µs

@Enter-tainer
Copy link
Collaborator

Maybe there's another feature that is active during typing that need a segnificant amount of CPU power?

yes. tinymist analyze your code to provide auto complete. but generally it should not consume a lot of cpu.

@Myriad-Dreamin
Copy link
Owner

yes. tinymist analyze your code to provide auto complete. but generally it should not consume a lot of cpu.

tinymist not only analyzes but also compiles code to provide LSP completion. It compiles to get information like labels and bib, in your document. Currently we cannot get rid of compilation because our analyzers are still too weak to know them statically.

The static analysis part should not consume a lot of CPU as most of code analysis will hit the cache and tinymist will analyze again on the changed file. Although, it can do better like ruff can merely analyze the changed functions in the changed file.

@fruzitent
Copy link

I was also curious why it was running so slowly on my PC, and when I checked the profiler on typst binary, I saw that it was cycling through thousands of fonts, using up around 6 GB of memory. So now, I run it with the --ignore-system-fonts and --font ./fonts/ flags and it is super fast.

@Myriad-Dreamin
Copy link
Owner

Myriad-Dreamin commented Jan 5, 2025

I was also curious why it was running so slowly on my PC, and when I checked the profiler on typst binary, I saw that it was cycling through thousands of fonts, using up around 6 GB of memory.

This is a hidden secret that typst is reading all of system fonts once on start to know them well. I believe it is okay on most people's PC but not on people like designers because they installed a lot of font resources on the computer. Some kind remind to optimize it may be a nice contribution. Although we cannot disable it because typst doesn't embed non-English fonts and all non-English text will become tofus if we disable system fonts.

@AdiWeit
Copy link
Author

AdiWeit commented Jan 5, 2025

tinymist not only analyzes but also compiles code to provide LSP completion. It compiles to get information like labels and bib, in your document. Currently we cannot get rid of compilation because our analyzers are still too weak to know them statically.

Maybe it could optionally compile less often or only on safe for now? At least concerning the labels and bib, I don't really use them that much and would save often enough for it to be no problem.

@Myriad-Dreamin Myriad-Dreamin added the enhancement New feature or request label Jan 5, 2025
@AdiWeit
Copy link
Author

AdiWeit commented Jan 8, 2025

The thing is it continues doing things minutes after I finish typing, so I think it creates a (relatively huge) backlog. Maybe it could recognize the backlog and skip the "old" code versions or something?

Here's some logging again 2025-01-08T15:42:39Z INFO sync_lsp] handling textDocument/hover - (10766) at Instant { tv_sec: 26850, tv_nsec: 829597345 } [2025-01-08T15:42:39Z INFO sync_lsp] handled textDocument/hover - (10766) in 188.38µs [2025-01-08T15:43:04Z INFO sync_lsp] handling textDocument/documentHighlight - (10767) at Instant { tv_sec: 26874, tv_nsec: 943124896 } [2025-01-08T15:43:04Z INFO sync_lsp] handled textDocument/documentHighlight - (10767) in 5.13ms [2025-01-08T15:43:04Z INFO sync_lsp] handling textDocument/codeLens - (10768) at Instant { tv_sec: 26875, tv_nsec: 86240507 } [2025-01-08T15:43:04Z INFO sync_lsp] handled textDocument/codeLens - (10768) in 692.88µs [2025-01-08T15:45:03Z INFO sync_lsp] handling textDocument/documentHighlight - (10769) at Instant { tv_sec: 26994, tv_nsec: 16671496 } [2025-01-08T15:45:03Z INFO sync_lsp] handled textDocument/documentHighlight - (10769) in 199.32µs [2025-01-08T15:45:03Z INFO sync_lsp] handling textDocument/codeLens - (10770) at Instant { tv_sec: 26994, tv_nsec: 183639811 } [2025-01-08T15:45:03Z INFO sync_lsp] handled textDocument/codeLens - (10770) in 227.28µs [2025-01-08T15:45:17Z INFO sync_lsp] handling workspace/executeCommand - (10771) at Instant { tv_sec: 27008, tv_nsec: 338919539 } [2025-01-08T15:45:17Z INFO sync_lsp] handled workspace/executeCommand - (10771) in 99.58µs [2025-01-08T15:45:38Z INFO sync_lsp] handling workspace/executeCommand - (10772) at Instant { tv_sec: 27029, tv_nsec: 374098764 } [2025-01-08T15:45:38Z INFO sync_lsp] handled workspace/executeCommand - (10772) in 30.93µs [2025-01-08T15:45:38Z INFO sync_lsp] handling textDocument/documentHighlight - (10773) at Instant { tv_sec: 27029, tv_nsec: 469944195 } [2025-01-08T15:45:38Z INFO sync_lsp] handled textDocument/documentHighlight - (10773) in 204.81µs [2025-01-08T15:45:38Z INFO sync_lsp] handling textDocument/codeLens - (10774) at Instant { tv_sec: 27029, tv_nsec: 671952445 } [2025-01-08T15:45:38Z INFO sync_lsp] handled textDocument/codeLens - (10774) in 481.64µs [2025-01-08T15:46:24Z INFO sync_lsp] handling workspace/executeCommand - (10775) at Instant { tv_sec: 27075, tv_nsec: 716094930 } [2025-01-08T15:46:24Z INFO sync_lsp] handled workspace/executeCommand - (10775) in 57.07µs [2025-01-08T15:53:13Z INFO sync_lsp] handling workspace/executeCommand - (10776) at Instant { tv_sec: 27484, tv_nsec: 740344386 } [2025-01-08T15:53:13Z INFO sync_lsp] handled workspace/executeCommand - (10776) in 38.34µs [2025-01-08T15:53:15Z INFO sync_lsp] handling textDocument/documentColor - (10777) at Instant { tv_sec: 27486, tv_nsec: 680567164 } [2025-01-08T15:53:15Z INFO sync_lsp] handled textDocument/documentColor - (10777) in 1.05ms [2025-01-08T15:53:15Z INFO sync_lsp] handling workspace/executeCommand - (10778) at Instant { tv_sec: 27486, tv_nsec: 684313524 } [2025-01-08T15:53:15Z INFO sync_lsp] handled workspace/executeCommand - (10778) in 66.24µs [2025-01-08T15:53:15Z INFO sync_lsp] handling textDocument/codeAction - (10779) at Instant { tv_sec: 27486, tv_nsec: 687924823 } [2025-01-08T15:53:15Z INFO sync_lsp] handled textDocument/codeAction - (10779) in 236.31µs [2025-01-08T15:53:15Z INFO sync_lsp] handling textDocument/documentLink - (10780) at Instant { tv_sec: 27486, tv_nsec: 821310398 } [2025-01-08T15:53:15Z INFO sync_lsp] handled textDocument/documentLink - (10780) in 178.05µs [2025-01-08T15:53:15Z INFO sync_lsp] handling textDocument/documentHighlight - (10781) at Instant { tv_sec: 27486, tv_nsec: 840060032 } [2025-01-08T15:53:15Z INFO sync_lsp] handled textDocument/documentHighlight - (10781) in 374.61µs [2025-01-08T15:53:15Z INFO sync_lsp] handling textDocument/foldingRange - (10782) at Instant { tv_sec: 27486, tv_nsec: 908417014 } [2025-01-08T15:53:15Z INFO sync_lsp] handled textDocument/foldingRange - (10782) in 8.84ms [2025-01-08T15:53:16Z INFO sync_lsp] handling textDocument/codeAction - (10783) at Instant { tv_sec: 27487, tv_nsec: 3752934 } [2025-01-08T15:53:16Z INFO sync_lsp] handled textDocument/codeAction - (10783) in 183.58µs [2025-01-08T15:53:16Z INFO sync_lsp] handling textDocument/codeLens - (10784) at Instant { tv_sec: 27487, tv_nsec: 19585286 } [2025-01-08T15:53:16Z INFO sync_lsp] handled textDocument/codeLens - (10784) in 274.66µs [2025-01-08T15:53:16Z INFO sync_lsp] handling textDocument/semanticTokens/full/delta - (10785) at Instant { tv_sec: 27487, tv_nsec: 21122810 } [2025-01-08T15:53:16Z INFO sync_lsp] handled textDocument/semanticTokens/full/delta - (10785) in 5.67ms [2025-01-08T15:53:25Z INFO sync_lsp] handling workspace/executeCommand - (10786) at Instant { tv_sec: 27496, tv_nsec: 789454807 } [2025-01-08T15:53:25Z INFO sync_lsp] handled workspace/executeCommand - (10786) in 30.17µs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants