Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Vue Official extension Language Server fails to start — "Go to Definition" unavailable for .vue files

Open pkbdemo opened this issue 7 months ago • 9 comments

Before opening, please confirm:

Operating System

win32

Kiro Version

0.11.133

Bug Description

Environment

  • Kiro version: Latest (as of 2025-04-29)
  • OS: Windows
  • Vue Official extension version: Latest (also tested with older versions)
  • TypeScript version: 6.0.2 (installed in project)
  • Vue version: 3.2.7

Description

The Vue Official (Vue.volar) extension is installed and shows as "Enabled" in the Extensions panel, but its Language Server never starts. This causes all Vue-specific language features (Go to Definition, auto-complete, type checking, etc.) to be completely unavailable for .vue files.

This was working normally last week and stopped working without any changes to the project configuration.

Actual Result

  • Error message appears: "Go to Source Definition failed. Unsupported file type." with source labeled as "TypeScript and JavaScript Language Features"
  • The right-click context menu does not show "Go to Definition" for .vue files
  • The Output panel dropdown does not contain "Vue Language Server" or "Vue" — the Language Server is not running at all
  • The command palette does not show "TypeScript: Restart TS Server" (though TS works for .ts files)

What I've Tried (all unsuccessful)

  1. Developer: Reload Window
  2. Disable and re-enable the Vue Official extension
  3. Downgrade Vue Official to an older version
  4. Toggle vue.server.hybridMode between true and false
  5. Verified .ts files have working "Go to Definition" — TypeScript Language Service itself is functional

Workspace Settings (.vscode/settings.json)

{
    "dotnet.defaultSolution": "projects.sln",
    "[vue]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "typescript.tsdk": "UP.FrontEnd/node_modules/typescript/lib",
    "vue.server.hybridMode": false
}


### Steps to Reproduce

1. Open a multi-project workspace containing a Vue 3 + TypeScript project (e.g., a subfolder like `UP.FrontEnd/` with `tsconfig.json` and `.vue` files)
2. Ensure the Vue Official extension is installed and enabled
3. Open any `.vue` file
4. Right-click on a function or variable name, or press `F12`

### Expected Behavior

- Vue Official Language Server should start and appear in the Output panel
- "Go to Definition" should work in `.vue` files, navigating to the correct source

### Conversation ID

7464a0a1-78c5-4d70-8982-ee05f2a6963e
7464a0a1-78c5-4d70-8982-ee05f2a6963e
7464a0a1-78c5-4d70-8982-ee05f2a6963e

### Additional Context

_No response_

pkbdemo avatar Apr 29 '26 01:04 pkbdemo

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both report language server initialization failures causing loss of language features like autocomplete and go-to-definition, though one affects PHP LSP and the other affects Vue Language Server

github-actions[bot] avatar Apr 29 '26 01:04 github-actions[bot]

the same issue appeared after update kiro to Version: 0.11.133

zeng-ge avatar Apr 29 '26 02:04 zeng-ge

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Apr 29 '26 02:04 github-actions[bot]

the same issue appeared after update kiro to Version: 0.11.133

Rochester-Ting avatar Apr 30 '26 05:04 Rochester-Ting

the same issue appeared after update kiro to Version Version: 0.12.200 VSCode Version: 1.107.1 Commit: 2406958adc70afa75e5473a3ec1f0cd3da68ec6d Date: 2026-05-15T20:23:06.338Z Electron: 39.6.0 Chromium: 142.0.7444.265 Node.js: 22.22.0 V8: 14.2.231.22-electron.0 OS: Darwin arm64 25.2.0

Same issue appeared at MacOS.

B612Asteroid avatar May 19 '26 10:05 B612Asteroid

This issue still exists in the latest version. Please fix it as soon as possible!

Version: 0.12.224
Commit: 1.107.1
Date: 0170b9bdc3ab6f4e460d3089084d774a6ebd6dbf
Electron: 2026-05-20T21:45:58.792Z
ElectronBuildId: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

Y2zz avatar May 22 '26 03:05 Y2zz

Hey @Y2zz, Thanks for retesting and confirming this is reproducible on 0.12.224. I've marked this as bug for the team to investigate further.

AnilMaktala avatar Jun 29 '26 15:06 AnilMaktala

Hey @Y2zz, Thanks for retesting and confirming this is reproducible on 0.12.224. I've marked this as bug for the team to investigate further.

Hi, the last version of Kiro where the extension works is 0.11.131. Unfortunately, the official website only has a download button for version 0.11.133, so you need to manually change the version number in the download link to get the IDE version you need. https://prod.download.desktop.kiro.dev/releases/stable/win32-x64/signed/0.11.131/kiro-ide-0.11.131-stable-win32-x64.exe

ThisIsLamer avatar Jul 01 '26 10:07 ThisIsLamer

Vue (Official) 3.3.6 调用了 host.fileExists API,这个 API 在 Kiro 的扩展宿主中缺失,导致 Volar 语言服务全面崩溃。

TimelyRainX avatar Jul 06 '26 08:07 TimelyRainX