Skip to content

[Feature Request] Allow IDEs to support IntelliSense on virtual components #18552

@MatthewAry

Description

@MatthewAry

Problem to solve

VSCode and Webstorm currently have no way to knowing when a user creates a virtual component in Vuetify. See https://vuetifyjs.com/en/features/aliasing and https://discord.com/channels/340160225338195969/1166761642026086420 for details.

Adding support for this will greatly improve the DX and accessibility of the virtual component feature.

Proposed solution

I'm not really sure what the solution here should be aside from creating some kind of code generator that will create some kind of file that will inform volar or typescript that would let it know about the existence of the components. I did some research into what the anu project is doing and I don't think their implementation is any better at figuring this out... I tried it its only a little bit different from what Vuetify does for component registrations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions