Svelte syntax ignored in Agent mode

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

.svelte files are treated like plaintext in Agent mode, so no syntax highlight or go to definitions are working. Even though in regular Editor mode everything works fine (have Svelte extensions, Prettier formatting works).

Similar issue with .rb files too by the way, but it’s only the go to definition that doesn’t work, syntax highlights seem to be fine.

Am I missing something or does Agent mode not understand the enhancements provided by the extensions yet?

Thanks!

Steps to Reproduce

  1. Have official Svelte for VSC extension installed.
  2. Open Agent mode.
  3. Open any .svelte file.

Expected Behavior

Syntax to be highlighted, ability to to import components with Cmd Click.

Operating System

MacOS

Version Information

Version: 3.0.13
VSCode Version: 1.105.1
Commit: 48a15759f53cd5fc9b5c20936ad7d79847d914b0
Date: 2026-04-07T03:05:17.114Z (1 day ago)
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.4.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @igor, thanks for the report and thank you for trying out Agents View. Yes, this is currently a known limitation of Agents view. We prioritized getting Agents view in the hands of as many users as possible as quickly as possible over full feature parity with the IDE. Expect more changes and more features to roll out but for now if you need the Svelte formatting it may be best to use the regular IDE view.

If you just need Prettier, but you don’t need to see the formatting in Agents view, you could always configure Prettier to run as a pre-commit hook. Just a possibility.