Commit graph

  • 2cbfb367c4
    Merge 6673d333dd into 0bfe655ada Hong Jiarong 2025-12-22 21:45:34 +08:00
  • 6673d333dd feat(lint): gate CFG-based lint behind lint-v2 feature (keep v1 as default) Hong Jiarong 2025-12-22 21:45:08 +08:00
  • c8778744f1 feat: add LintRequest for lint diagnostics and update check handling Hong Jiarong 2025-12-21 23:12:41 +08:00
  • 9fda561d1f fmt Hong Jiarong 2025-12-21 22:50:45 +08:00
  • 9dffb55da4 feat: enhance CFG with edge payloads and improve dataflow analysis Hong Jiarong 2025-12-21 22:47:15 +08:00
  • f7a65f71b5 feat: introduce dataflow analysis infrastructure Hong Jiarong 2025-12-21 20:58:03 +08:00
  • ab91a9799c
    Merge 6ee1c89ac5 into 0bfe655ada Patrick Massot 2025-12-21 12:33:20 +01:00
  • 6ee1c89ac5 Fix typos found by gemini Patrick Massot 2025-12-21 12:33:07 +01:00
  • 2c3a3b63b8 More formatting documentation for neovim Patrick Massot 2025-12-21 11:57:37 +01:00
  • 06600bae51 resolve review Hong Jiarong 2025-12-21 15:07:39 +08:00
  • 3198e05351 clippy Hong Jiarong 2025-12-21 14:46:10 +08:00
  • 815aea1bf2 test Hong Jiarong 2025-12-20 16:07:04 +08:00
  • 06da3f8f25 cache Hong Jiarong 2025-12-20 16:06:59 +08:00
  • e4a9096075 refactor(lint): replace DataFlowVisitor with CFG-based dataflow Hong Jiarong 2025-12-20 15:22:11 +08:00
  • 07e12f6e2f
    Merge adf6913680 into 0bfe655ada QuadnucYard 2025-12-20 14:17:17 +00:00
  • adf6913680 fix: handle tinymist.onEnter only after activated QuadnucYard 2025-12-20 22:12:59 +08:00
  • b2406b4d2d
    Merge 9e22e19353 into 0bfe655ada QuadnucYard 2025-12-20 14:40:37 +09:00
  • bc67f3afa2
    Merge 32b32c13f9 into 0bfe655ada Hong Jiarong 2025-12-20 14:40:37 +09:00
  • 89ca09b9e9
    Merge 6f10e476c1 into 0bfe655ada Myriad-Dreamin 2025-12-20 14:40:37 +09:00
  • 6cac30f4cf
    Merge 4b49d436df into 0bfe655ada Hong Jiarong 2025-12-20 14:40:37 +09:00
  • 693d0387f9
    Merge 06ec098734 into 0bfe655ada sharlot 2025-12-18 03:33:42 +00:00
  • 06ec098734 fix: fix hot reload for preview on remote workspaces charlotte 2025-12-18 16:33:34 +13:00
  • 5f35e8b1cd
    Merge 2c61f06434 into 0bfe655ada QuadnucYard 2025-12-17 20:33:39 -06:00
  • 0741201ecf
    Merge 422b1099f6 into 0bfe655ada Myriad-Dreamin 2025-12-17 17:08:51 +01:00
  • 7133a1fe79
    Merge 748958a898 into 0bfe655ada Hong Jiarong 2025-12-17 20:10:30 +08:00
  • b384a3fb9c
    Merge 35e14059bb into 0bfe655ada Hong Jiarong 2025-12-17 11:52:48 +00:00
  • 35e14059bb Update config.rs Hong Jiarong 2025-12-17 19:52:35 +08:00
  • c725ebe44a Update tinymist-vscode.toml Hong Jiarong 2025-12-17 19:49:06 +08:00
  • f54665d503 Update tinymist-vscode.toml Hong Jiarong 2025-12-17 19:48:39 +08:00
  • 5e17df077b rename dead code to unused Hong Jiarong 2025-12-17 19:47:24 +08:00
  • 9fdf82ae08 refactor(dead-code): simplify refs and speed cross-file scan Hong Jiarong 2025-12-17 19:10:47 +08:00
  • 6f8a40cc0c feat(analysis): derive ipcfg resolve map from ExprInfo Hong Jiarong 2025-12-17 19:00:05 +08:00
  • 4fa2e7862d refactor Hong Jiarong 2025-12-17 18:16:00 +08:00
  • ecbfeb59e5
    Merge c2df77dd5e into 0bfe655ada Myriad-Dreamin 2025-12-17 10:57:00 +08:00
  • 8abff8d503 ipcfg Hong Jiarong 2025-12-17 09:55:43 +08:00
  • aa6d06cde1
    Merge 5bb8743b90 into 0bfe655ada Hong Jiarong 2025-12-16 10:47:53 -08:00
  • df87bbee11 Update lib.rs Hong Jiarong 2025-12-16 19:45:47 +08:00
  • d104890040 clippy, test, fmt Hong Jiarong 2025-12-16 16:46:08 +08:00
  • 37c5be0de1 tinymist-query: move unreachable tests under tests module Hong Jiarong 2025-12-16 13:51:22 +08:00
  • b02d3fe2af tinymist-lint: report unreachable via CFG Hong Jiarong 2025-12-16 13:40:36 +08:00
  • c99f663d1c tinymist-analysis: add Typst CFG builder Hong Jiarong 2025-12-16 13:40:30 +08:00
  • 2143cdb4b7 feat(lint): add unreachable code detection using CFG analysis Hong Jiarong 2025-12-16 12:41:23 +08:00
  • 72c5d44fbb refactor(lint): optimize dead code detection implementation Hong Jiarong 2025-12-15 22:01:05 +08:00
  • 4f3fd19e9b feat(vscode): expose lint.deadCode settings Hong Jiarong 2025-12-15 21:29:50 +08:00
  • ec4cce5475 fix(query): code-routed unused quickfixes Hong Jiarong 2025-12-15 21:29:33 +08:00
  • 9d0308febc fix(lint): refine dead-code exported handling Hong Jiarong 2025-12-15 21:28:57 +08:00
  • 8d0361735e feat: plumb dead-code lint config Hong Jiarong 2025-12-15 21:28:21 +08:00
  • 200c72920f update tests Hong Jiarong 2025-12-15 20:17:28 +08:00
  • 81cbee6458 fix: module import usage attribution Hong Jiarong 2025-12-15 20:17:14 +08:00
  • 420813f3f0 fix: dead-code quickfix for unused module import Hong Jiarong 2025-12-15 20:05:39 +08:00
  • abb7d05b68 feat: add autofix to remove unused module declarations Hong Jiarong 2025-12-10 17:07:29 +08:00
  • 4c961ecbab update snaps Hong Jiarong 2025-12-09 17:46:31 +08:00
  • c398ef6316 lint: highlight entire unused let bindings and keep code actions working Hong Jiarong 2025-12-09 16:53:45 +08:00
  • ef76937bb7 update tests' snaps Hong Jiarong 2025-12-08 20:19:42 +08:00
  • dfec51b74e refactor a bit Hong Jiarong 2025-12-08 19:07:04 +08:00
  • 731826ecf5 feat: Mark unused diagnostics with DiagnosticTag::UNNECESSARY and DiagnosticSeverity::HINT. Hong Jiarong 2025-12-08 17:42:13 +08:00
  • f4fae9dd79 import show usage Hong Jiarong 2025-11-23 16:30:09 +08:00
  • ac15de2aab fmt Hong Jiarong 2025-11-17 14:35:50 +08:00
  • fe073d8aee import wildcard Hong Jiarong 2025-11-17 14:35:31 +08:00
  • 269816316a can't replace unused function with placeholder _ Hong Jiarong 2025-11-16 22:28:47 +08:00
  • 1287c95d84 update snap Hong Jiarong 2025-11-16 19:26:08 +08:00
  • 2682810389 clippy Hong Jiarong 2025-11-16 19:18:57 +08:00
  • a5b4533bf7 clippy Hong Jiarong 2025-11-16 19:15:41 +08:00
  • 2f4b62deb6 refactor: streamline dead code analysis by removing unused functions and optimizing import usage computation Hong Jiarong 2025-11-16 13:41:06 +08:00
  • 9bace397fb mod alias tmp fix Hong Jiarong 2025-11-16 12:58:16 +08:00
  • 843fbc3aaf prevent .._ when rewrites spread bindings Hong Jiarong 2025-11-16 01:29:59 +08:00
  • 60295b62e3 module import Hong Jiarong 2025-11-16 01:16:01 +08:00
  • 9920bb4001 module import Hong Jiarong 2025-11-16 00:49:10 +08:00
  • da660ad404 import items and its alias Hong Jiarong 2025-11-16 00:01:03 +08:00
  • deb6d82772 simplify dead code checks and enhance diagnostic messages for unused symbols Hong Jiarong 2025-11-15 21:56:08 +08:00
  • 8c95904042 fix: hash tag Hong Jiarong 2025-11-15 21:32:10 +08:00
  • ea1ec20253 feat: add snapshot_testing_with_snapshots function for enhanced snapshot testing Hong Jiarong 2025-11-15 21:25:58 +08:00
  • 5ee652a0a6 feat: enhance dead code handling with autofix actions for unused symbols Hong Jiarong 2025-11-15 21:25:04 +08:00
  • c6dad907af clippy Hong Jiarong 2025-11-15 17:18:32 +08:00
  • 14c3f19138 it's not tuple.. Hong Jiarong 2025-11-15 17:09:50 +08:00
  • ae073f0260 insta Hong Jiarong 2025-11-15 16:53:56 +08:00
  • 59ecc40bc4 feat: add test cases and snapshots for dead code detection in spread operator Hong Jiarong 2025-11-15 16:53:41 +08:00
  • fb95df494c feat: add snapshot for dead code detection in destructuring patterns Hong Jiarong 2025-11-15 16:42:44 +08:00
  • e2ecccfbb0 feat: add test cases for dead code detection in destructuring patterns Hong Jiarong 2025-11-15 16:39:24 +08:00
  • 93fac9789b feat: cross-module reference tracking Hong Jiarong 2025-11-15 16:32:48 +08:00
  • 32eb0b751c feat: implement dead code detection and diagnostics for Typst Hong Jiarong 2025-11-15 15:07:09 +08:00
  • d805281e3c style: suppress unused_mut warning for hooks vector initialization Hong Jiarong 2025-12-10 21:13:28 +08:00
  • c62159e1d6 docs: Add documentation comments to project hooks and refactor hook vector initialization. Hong Jiarong 2025-12-10 20:59:41 +08:00
  • 92aef00c16 refactor: Unify compile event handling with a new CompileHook trait, replacing individual handlers for diagnostics, linting, preview, and export. Hong Jiarong 2025-12-10 16:26:46 +08:00
  • f35f25fd86 feat: Separate diagnostic handling into a dedicated DiagHook for compiler diagnostics and a new LintHook for lint-specific diagnostics. Hong Jiarong 2025-12-10 16:06:36 +08:00
  • 0b70b0a8a0 feat: split lint hook from compiler diagnostics Hong Jiarong 2025-12-09 21:05:36 +08:00
  • 49fb261a1a refactor: add hook scaffolding Hong Jiarong 2025-12-09 20:46:01 +08:00
  • fa443289d4 feat: add clear_diagnostics method to CompileHandlerImpl for better diagnostic management Hong Jiarong 2025-12-09 19:55:50 +08:00
  • b1871fbfa3 feat: enhance diagnostics handling by introducing DiagKind and separating compiler/lint diagnostics Hong Jiarong 2025-12-09 18:07:13 +08:00
  • 6d398cdea9
    Merge 5dbcd4ebd7 into 0bfe655ada Hong Jiarong 2025-12-16 19:35:13 +08:00
  • 9f9c7e8793
    Merge 8955743f38 into 0bfe655ada Copilot 2025-12-16 19:34:38 +10:30
  • 250c4c4631
    Merge 46a3ab168a into 0bfe655ada Hong Jiarong 2025-12-16 14:55:41 +08:00
  • 46a3ab168a fix: goto def jumping in complex let bindings Hong Jiarong 2025-12-16 14:46:25 +08:00
  • b818a262ba
    Merge d9dabaff7c into 0bfe655ada Myriad-Dreamin 2025-12-16 11:40:13 +08:00
  • 0bfe655ada
    build: bump world crates to v0.14.6-rc2 (#2312) main Myriad-Dreamin 2025-12-16 11:37:50 +08:00
  • 2c61f06434 Merge remote-tracking branch 'upstream/main' into import-package-tooltip QuadnucYard 2025-12-16 10:33:21 +08:00
  • 506a97d495
    fix: avoid duplicated @preview packages (#2313) Myriad-Dreamin 2025-12-16 08:11:10 +08:00
  • f4e57aa53c Revert "fix: resolve gemni review" charlotte 2025-12-16 12:08:43 +13:00
  • 996898b016 fix: resolve gemni review charlotte 2025-12-16 12:00:06 +13:00
  • 67293019ff test: add tests and comments for added functions charlotte 2025-12-16 11:32:14 +13:00