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
False positive errors at end-of-file #3942
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This happens to me in a monorepo containing some nuxt projects as well. |
using nuxt, now the autocomplete and suggestions does not work at all |
I dont know if this is related but i used to use volar + neovim (lspconfig) a lot in single files, just writing quick scripts in TS and that no longer works. I do see it works when tsconfig is in the root however. Not sure if there is a way to make this optional, im assuming its the same as original issue here |
The only solution that worked for me for now is downgrading to |
After investigation from microsoft/TypeScript#57630, this does appear to be an issue with the Svelte extension. Please make sure you have disabled the Svelte extension in Vue workspace. If you don't have Svelte extension installed and this problem still occurs, please open a new issue and provide a reproduction. |
Yeap. It seems the extension crashes with some others. Thanks @johnsoncodehk I also disabled not using extensions and errors gone. |
@namhong2001 Can you share which extension caused the conflict for you? |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` -> `13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.1` -> `2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://togithub.com/vitejs/vite/issues/15732)) ([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://togithub.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://togithub.com/vitejs/vite/issues/15469)) ([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://togithub.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://togithub.com/vitejs/vite/issues/16085)) ([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://togithub.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://togithub.com/vitejs/vite/issues/16010)) ([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://togithub.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://togithub.com/vitejs/vite/issues/15853)) ([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://togithub.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://togithub.com/vitejs/vite/issues/16055)) ([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://togithub.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://togithub.com/vitejs/vite/issues/16062)) ([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://togithub.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://togithub.com/vitejs/vite/issues/15898)) ([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://togithub.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://togithub.com/vitejs/vite/issues/15206)) ([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes [#​15206](https://togithub.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://togithub.com/vitejs/vite/issues/16072)) ([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://togithub.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://togithub.com/vitejs/vite/issues/15907)) ([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://togithub.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://togithub.com/vitejs/vite/issues/16061)) ([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://togithub.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://togithub.com/vitejs/vite/issues/16028)) ([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://togithub.com/vitejs/vite/issues/16028) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6) > \[!IMPORTANT] > If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install [JavaScript and TypeScript Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next), or temporarily downgrade to 1.8.27.\ > Issue: [vuejs/language-tools#3962 > > If false positive errors occurs, please try disabling unrelated extensions in the Vue workspace. > Issue[vuejs/language-tools#3942 ##### Fixes - **language-core:** use local variables in v-bind shorthand ([#​4017](https://togithub.com/vuejs/language-tools/issues/4017)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-core:** sfc folding end position failed to mapping ([#​4038](https://togithub.com/vuejs/language-tools/issues/4038)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** remove `extraLiners` option for formatting ([#​3943](https://togithub.com/vuejs/language-tools/issues/3943)) - **language-service:** bump `volar-service-typescript` for fix jsx formatting ([#​3949](https://togithub.com/vuejs/language-tools/issues/3949)) - **language-service:** bump `@volar/typescript` 2.0.5 completion performance regression ([#​4024](https://togithub.com/vuejs/language-tools/issues/4024)) ##### Refactors - **vscode:** rename `vue.inlayHints.vbindShorthand` setting to `vue.inlayHints.vBindShorthand` ([#​3995](https://togithub.com/vuejs/language-tools/issues/3995)) - thanks [@​l4dybird](https://togithub.com/l4dybird) ### [`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5) > \[!IMPORTANT] > If the TypeScript language server crashes in version 2.0, please try using VSCode Insiders, or temporarily downgrade to 1.8.27.\ > Issue: [vuejs/language-tools#3962 > > If false positive errors occurs, try creating an empty jsconfig in the workspace root directory.\ > Issue: [vuejs/language-tools#3942 ##### Features - **language-core:** support `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** support inlay hints for `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **vscode:** prompt to disable Svelte extension in Vue workspace to avoid conflicts ##### Fixes - **typescript-plugin:** fault tolerance for named pipe server data - **language-core:** avoid `globalTypesHolder` being specified from a `node_modules` file ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - **language-core:** fault tolerance for plugin creation - **language-plugin-pug:** failed to load due to an invalid require path ([#​3930](https://togithub.com/vuejs/language-tools/issues/3930)) - **typescript-plugin:** custom extensions do not work ([#​3977](https://togithub.com/vuejs/language-tools/issues/3977)) - **language-service:** html custom data not working ([#​3975](https://togithub.com/vuejs/language-tools/issues/3975)) ##### Refactors - **typescript-plugin** add README ([#​3974](https://togithub.com/vuejs/language-tools/issues/3974)) - thanks [@​WhyNotHugo](https://togithub.com/WhyNotHugo) - **component-meta** update deom ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) - thanks [@​zzfn](https://togithub.com/zzfn) ### [`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4) ##### Features - **vscode:** report requires TSDK version in doctor ##### Fixes - **typescript-plugin:** JSON parsing error when server data length > 8192 ([#​3961](https://togithub.com/vuejs/language-tools/issues/3961)) ### [`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3) ##### Features - **vscode:** identify [#​3942](https://togithub.com/vuejs/language-tools/issues/3942) in doctor ##### Fixes - **vscode:** compatible with VSCode 1.87.0 - **vscode:** search "TypeScript and JavaScript Language Features" with id ([#​3932](https://togithub.com/vuejs/language-tools/issues/3932)) - **typescript-plugin:** more reliable connection to named pipe server ([#​3941](https://togithub.com/vuejs/language-tools/issues/3941)) ##### Refactors - **language-service:** dependency injection typescript plugin ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) ### [`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2) ##### Fixes - **vscode:** fix random `Cannot access 'i' before initialization` errors - **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/toolbelt). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
same error in 2.0.6:
|
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` -> `13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.1` -> `2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://togithub.com/vitejs/vite/issues/15732)) ([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://togithub.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://togithub.com/vitejs/vite/issues/15469)) ([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://togithub.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://togithub.com/vitejs/vite/issues/16085)) ([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://togithub.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://togithub.com/vitejs/vite/issues/16010)) ([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://togithub.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://togithub.com/vitejs/vite/issues/15853)) ([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://togithub.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://togithub.com/vitejs/vite/issues/16055)) ([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://togithub.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://togithub.com/vitejs/vite/issues/16062)) ([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://togithub.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://togithub.com/vitejs/vite/issues/15898)) ([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://togithub.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://togithub.com/vitejs/vite/issues/15206)) ([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes [#​15206](https://togithub.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://togithub.com/vitejs/vite/issues/16072)) ([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://togithub.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://togithub.com/vitejs/vite/issues/15907)) ([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://togithub.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://togithub.com/vitejs/vite/issues/16061)) ([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://togithub.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://togithub.com/vitejs/vite/issues/16028)) ([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://togithub.com/vitejs/vite/issues/16028) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6) > \[!IMPORTANT] > If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install [JavaScript and TypeScript Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next), or temporarily downgrade to 1.8.27.\ > Issue: [vuejs/language-tools#3962 > > If false positive errors occurs, please try disabling unrelated extensions in the Vue workspace. > Issue[vuejs/language-tools#3942 ##### Fixes - **language-core:** use local variables in v-bind shorthand ([#​4017](https://togithub.com/vuejs/language-tools/issues/4017)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-core:** sfc folding end position failed to mapping ([#​4038](https://togithub.com/vuejs/language-tools/issues/4038)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** remove `extraLiners` option for formatting ([#​3943](https://togithub.com/vuejs/language-tools/issues/3943)) - **language-service:** bump `volar-service-typescript` for fix jsx formatting ([#​3949](https://togithub.com/vuejs/language-tools/issues/3949)) - **language-service:** bump `@volar/typescript` 2.0.5 completion performance regression ([#​4024](https://togithub.com/vuejs/language-tools/issues/4024)) ##### Refactors - **vscode:** rename `vue.inlayHints.vbindShorthand` setting to `vue.inlayHints.vBindShorthand` ([#​3995](https://togithub.com/vuejs/language-tools/issues/3995)) - thanks [@​l4dybird](https://togithub.com/l4dybird) ### [`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5) > \[!IMPORTANT] > If the TypeScript language server crashes in version 2.0, please try using VSCode Insiders, or temporarily downgrade to 1.8.27.\ > Issue: [vuejs/language-tools#3962 > > If false positive errors occurs, try creating an empty jsconfig in the workspace root directory.\ > Issue: [vuejs/language-tools#3942 ##### Features - **language-core:** support `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** support inlay hints for `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **vscode:** prompt to disable Svelte extension in Vue workspace to avoid conflicts ##### Fixes - **typescript-plugin:** fault tolerance for named pipe server data - **language-core:** avoid `globalTypesHolder` being specified from a `node_modules` file ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - **language-core:** fault tolerance for plugin creation - **language-plugin-pug:** failed to load due to an invalid require path ([#​3930](https://togithub.com/vuejs/language-tools/issues/3930)) - **typescript-plugin:** custom extensions do not work ([#​3977](https://togithub.com/vuejs/language-tools/issues/3977)) - **language-service:** html custom data not working ([#​3975](https://togithub.com/vuejs/language-tools/issues/3975)) ##### Refactors - **typescript-plugin** add README ([#​3974](https://togithub.com/vuejs/language-tools/issues/3974)) - thanks [@​WhyNotHugo](https://togithub.com/WhyNotHugo) - **component-meta** update deom ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) - thanks [@​zzfn](https://togithub.com/zzfn) ### [`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4) ##### Features - **vscode:** report requires TSDK version in doctor ##### Fixes - **typescript-plugin:** JSON parsing error when server data length > 8192 ([#​3961](https://togithub.com/vuejs/language-tools/issues/3961)) ### [`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3) ##### Features - **vscode:** identify [#​3942](https://togithub.com/vuejs/language-tools/issues/3942) in doctor ##### Fixes - **vscode:** compatible with VSCode 1.87.0 - **vscode:** search "TypeScript and JavaScript Language Features" with id ([#​3932](https://togithub.com/vuejs/language-tools/issues/3932)) - **typescript-plugin:** more reliable connection to named pipe server ([#​3941](https://togithub.com/vuejs/language-tools/issues/3941)) ##### Refactors - **language-service:** dependency injection typescript plugin ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) ### [`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2) ##### Fixes - **vscode:** fix random `Cannot access 'i' before initialization` errors - **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/ui). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` -> `13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vue-tsc](https://togithub.com/vuejs/language-tools) ([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc)) | [`2.0.1` -> `2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>capricorn86/happy-dom (happy-dom)</summary> ### [`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86) [Compare Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://togithub.com/vitejs/vite/issues/15732)) ([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://togithub.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://togithub.com/vitejs/vite/issues/15469)) ([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://togithub.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://togithub.com/vitejs/vite/issues/16085)) ([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://togithub.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://togithub.com/vitejs/vite/issues/16010)) ([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://togithub.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://togithub.com/vitejs/vite/issues/15853)) ([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://togithub.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://togithub.com/vitejs/vite/issues/16055)) ([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://togithub.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://togithub.com/vitejs/vite/issues/16062)) ([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://togithub.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://togithub.com/vitejs/vite/issues/15898)) ([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://togithub.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://togithub.com/vitejs/vite/issues/15206)) ([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes [#​15206](https://togithub.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://togithub.com/vitejs/vite/issues/16072)) ([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://togithub.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://togithub.com/vitejs/vite/issues/15907)) ([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://togithub.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://togithub.com/vitejs/vite/issues/16061)) ([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://togithub.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://togithub.com/vitejs/vite/issues/16028)) ([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://togithub.com/vitejs/vite/issues/16028) </details> <details> <summary>vuejs/language-tools (vue-tsc)</summary> ### [`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6) > \[!IMPORTANT] > If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install [JavaScript and TypeScript Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next), or temporarily downgrade to 1.8.27.\ > Issue: [vuejs/language-tools#3962 > > If false positive errors occurs, please try disabling unrelated extensions in the Vue workspace. > Issue[vuejs/language-tools#3942 ##### Fixes - **language-core:** use local variables in v-bind shorthand ([#​4017](https://togithub.com/vuejs/language-tools/issues/4017)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-core:** sfc folding end position failed to mapping ([#​4038](https://togithub.com/vuejs/language-tools/issues/4038)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** remove `extraLiners` option for formatting ([#​3943](https://togithub.com/vuejs/language-tools/issues/3943)) - **language-service:** bump `volar-service-typescript` for fix jsx formatting ([#​3949](https://togithub.com/vuejs/language-tools/issues/3949)) - **language-service:** bump `@volar/typescript` 2.0.5 completion performance regression ([#​4024](https://togithub.com/vuejs/language-tools/issues/4024)) ##### Refactors - **vscode:** rename `vue.inlayHints.vbindShorthand` setting to `vue.inlayHints.vBindShorthand` ([#​3995](https://togithub.com/vuejs/language-tools/issues/3995)) - thanks [@​l4dybird](https://togithub.com/l4dybird) ### [`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5) > \[!IMPORTANT] > If the TypeScript language server crashes in version 2.0, please try using VSCode Insiders, or temporarily downgrade to 1.8.27.\ > Issue: [vuejs/language-tools#3962 > > If false positive errors occurs, try creating an empty jsconfig in the workspace root directory.\ > Issue: [vuejs/language-tools#3942 ##### Features - **language-core:** support `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **language-service:** support inlay hints for `v-bind` shorthand ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - thanks [@​so1ve](https://togithub.com/so1ve) - **vscode:** prompt to disable Svelte extension in Vue workspace to avoid conflicts ##### Fixes - **typescript-plugin:** fault tolerance for named pipe server data - **language-core:** avoid `globalTypesHolder` being specified from a `node_modules` file ([#​3990](https://togithub.com/vuejs/language-tools/issues/3990)) - **language-core:** fault tolerance for plugin creation - **language-plugin-pug:** failed to load due to an invalid require path ([#​3930](https://togithub.com/vuejs/language-tools/issues/3930)) - **typescript-plugin:** custom extensions do not work ([#​3977](https://togithub.com/vuejs/language-tools/issues/3977)) - **language-service:** html custom data not working ([#​3975](https://togithub.com/vuejs/language-tools/issues/3975)) ##### Refactors - **typescript-plugin** add README ([#​3974](https://togithub.com/vuejs/language-tools/issues/3974)) - thanks [@​WhyNotHugo](https://togithub.com/WhyNotHugo) - **component-meta** update deom ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) - thanks [@​zzfn](https://togithub.com/zzfn) ### [`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4) ##### Features - **vscode:** report requires TSDK version in doctor ##### Fixes - **typescript-plugin:** JSON parsing error when server data length > 8192 ([#​3961](https://togithub.com/vuejs/language-tools/issues/3961)) ### [`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3) ##### Features - **vscode:** identify [#​3942](https://togithub.com/vuejs/language-tools/issues/3942) in doctor ##### Fixes - **vscode:** compatible with VSCode 1.87.0 - **vscode:** search "TypeScript and JavaScript Language Features" with id ([#​3932](https://togithub.com/vuejs/language-tools/issues/3932)) - **typescript-plugin:** more reliable connection to named pipe server ([#​3941](https://togithub.com/vuejs/language-tools/issues/3941)) ##### Refactors - **language-service:** dependency injection typescript plugin ([#​3994](https://togithub.com/vuejs/language-tools/issues/3994)) ### [`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432) [Compare Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2) ##### Fixes - **vscode:** fix random `Cannot access 'i' before initialization` errors - **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Helsinki, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/slipmatio/logger). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
I'm removed |
I have error message shows that the tsconfig is missing but it does exist. I found that disabling |
I don't know what the relationship is, but when the styled-componets extension was enabled, the Vue - Oficial plugin stopped working correctly from version 2.x onwards. Therefore, until the problem is fixed, there are two possible paths:
|
In my case only the option 1 has helped. I don't know what |
That feels like a different problem? The addon doesn't stop working (it spews out errors, but it otherwise fine, mostly), and certainly not after a few minutes (immediately for me, after initialising). |
Wouldn't it work if I increased the version of TypeScript I'm using? Vue - Official @2.0.6 Doesn't work well it works fine I would like you to check your current Typescript version. |
@johnsoncodehk You closed this issue, which is fine, but are we absolutely sure the problem wasn't in this addon? The problem only occurred with a combination of this addon, and the styled-components one. Just telling people not to install the latter one, is not a solution, even if the problem is in that addon. By closing this issue, it feels like you're sure the problem (and solution) is in the styled-components addon. So one more time then: is some type of collaboration with them being done to get to an actual proper solution? |
@thany I think this issue has been closed because the change that caused it has been reverted -> so it's now fixed. |
@thany "Closed via" means a PR or a commit had fixed this issue, and a new release is coming. Just upgrade to 2.0.7. |
That PR just reverts back to the same thing the old addon version did, so the issue only appears solved. When going into hybrid mode (presumably, from the looks of the PR) it will still break in the exact same way. This is why I keep asking to collaborate with the author of the addon that it is breaking on. Working together might actually solve the problem. |
You should only enable hybrid mode when you have a tsconfig and have ts 5.3+ installed.
Other ts plugins are not related. This is a vscode and typescript's fault-tolerance problem, not ours. |
This can easily be autodetected, can't it? |
I have this problem with Nuxt. there is a tsconfig. but for every newly created file, I get the same behaviour unless I restart vscode. |
#4206 implements the detection of installed extensions to determine whether to enable Hybrid Mode automatically. If you find a compatible extension ID that is not added to the whitelist, please leave a comment in the PR. |
@johnsoncodehk Why it is not able to find auto generated tsconfig Nuxt projects?! is there something wrong? |
I see the comments understand that the full TS server has been restored, so it would be best to be able to turn on Takeover mode to improve performance, but he still detects warnings every time I open the project, should I use some way to turn off the warnings or is there no need to disable the built-in server? |
There is no need to disable the built-in server. If hybrid mode is enabled, both typescript and vue files' language services are provided by the built-in server. If disabled, vue's language service is provided by an external language server. |
thank you |
On mac vs code open multiple windows at the same time may occasionally saving stuck out, forgive can not be determined to float, the situation is like this System: node@v18.19.0 vscode Volar@2.0.11 |
TS plugin cannot be used with Vue files if the project does not contain tsconfig/jsconfig, or the Vue files are not included by tsconfig/jsconfig.
Steps to reproduce
Since it is just for demonstration purposes, node_modules will not be installed.
tsconfig.json
file in reposrc/components/HelloWorld.vue
HelloWorld.vue
, opensrc/main.ts
, then re-openHelloWorld.vue
Exploration
@vue/typescript-plugin
callsdecorateLanguageService
anddecorateLanguageServiceHost
at following code to modify the originallanguageService
andlanguageServiceHost
:language-tools/packages/typescript-plugin/index.ts
Lines 62 to 63 in 3efa52d
This works well for
ConfiguredProject
. But forInferredProject
, if you open the TS file before opening the Vue file, the modification ofdecorateLanguageService
is no longer valid, just like the originallanguageService
is no longer used. Therefore the mapping behavior ofdecorateLanguageService
is no longer valid.Temporary Solutions
jsconfig.json
file in project root with empty json object content{}
Update: If you have the "Svelte for VS Code" extension installed, disabling it may avoid this problem.
The text was updated successfully, but these errors were encountered: