Skip to content

No syntax highlighting/autocomplete for generic component usage #11552

Open
@MarvinKlein1508

Description

@MarvinKlein1508

There is no syntax highlighting or autocompletion features for the type definition on genric components.

Conser this simple generic component:

@typeparam TItem

<h3>TestComponent</h3>

@code {
    [Parameter]
    public TItem? MyItem { get; set; }
}

In Visual Studio (bot normal and Preview):

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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