Skip to content

IntelliSence works inside of the script tag but doesn't work inside of <template> #4416

Closed
@TalkativeGuy

Description

@TalkativeGuy
bandicam.2024-05-24.15-42-57-511.mp4

Description

As can be seen on the video, the pop-up hints for the data values work when typed inside of the script tag (e. g. in a method), but when it comes to the template - it only works for the "top layer", so the hints do display the data values (not always though), but not their properties after the dot. The issue applies for both anonymous an ts-typed objects. Doesn't display errors if something is wrong either.

What was attempted

  • Reinstalling the extension
  • Enabling/disabling the built-in TS extension (@builtin types) and another single vue snippets extension I have
  • Downgrading to 1.8.27 as was suggested in another similar issue. Surprisingly, it started acting the other way around: working in template, not working in script tag. LoL.
  • Reloading VS Code for a million times including when downgraded to 1.8.27
  • I wanted to try and reinstall VS Code completely, but then I remembered I just had it installed a couple of days ago on by partner's laptop as mine was unavailable for a while, and it had the same issue.

Back when it was Volar, it worked perfectly fine in both HTML and TS, but now it won't let me install it back again and my experience is now ruined :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions