Jaw
410761e0f7
fix(lsp): register .vue files and Vue CLI aliases in config-less tsserver projects ( #1771 )
...
In a Vue CLI project without jsconfig.json, tsserver only knew the files that
were opened: usage counts said "no usages" for code used from unopened .vue
files, and `@/` imports resolved to nothing, so a mixin imported that way made
the component's whole `this` `any` and Go to Declaration failed in the same file.
The tsserver project registered for config-less trees now also serves Vue
(vtsls of vue.toml), includes the files the Vue tsserver plugin handles, and maps
the webpack aliases that @vue/cli-service resolves (else Vue CLI's `@` -> `src`).
Until vtsls has diagnostics for an open file it answers from its syntax server,
so the server reports loading meanwhile and empty usage counts are asked again.
2026-11-07 02:25:29 +08:00
..
2026-11-02 10:01:04 +08:00
2026-11-06 09:44:09 +08:00
2026-10-29 23:34:22 +08:00
2026-11-04 21:09:12 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 21:09:12 +08:00
2026-11-06 06:35:01 +08:00
2026-11-01 16:54:31 +08:00
2026-11-02 10:04:03 +08:00
2026-11-05 14:14:47 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-24 11:26:31 +08:00
2026-11-03 15:05:09 +08:00
2026-10-22 18:55:10 +08:00
2026-11-06 06:35:01 +08:00
2026-10-27 15:31:25 +08:00
2026-10-27 15:31:25 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 21:09:12 +08:00
2026-10-27 15:31:25 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 13:02:01 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-01 16:54:31 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-04 21:09:12 +08:00
2026-11-06 06:35:01 +08:00
2026-11-06 06:35:01 +08:00
2026-11-01 16:54:31 +08:00
2026-11-01 16:54:31 +08:00
2026-11-03 17:29:59 +08:00
2026-10-22 18:55:10 +08:00
2026-11-06 06:35:01 +08:00
2026-10-22 18:55:10 +08:00
2026-11-01 16:54:31 +08:00
2026-11-05 23:37:26 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-01 16:54:31 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-06 06:27:57 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-05 23:41:44 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-06 06:35:01 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-01 16:54:31 +08:00
2026-11-06 06:35:01 +08:00
2026-10-22 18:55:10 +08:00
2026-11-02 11:22:49 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-10-22 18:55:10 +08:00
2026-11-06 06:35:01 +08:00
2026-11-06 06:35:01 +08:00
2026-11-07 02:25:29 +08:00
2026-10-22 18:55:10 +08:00
2026-11-01 16:54:31 +08:00
2026-11-06 06:35:01 +08:00