Probably this topic is related to @davidwengier
I noticed some behaviour within the new razor editor within VS Insiders 11104.47
When you have a component like this:
/* More stuff here. STripped down for demo purposes */
@ChildContent
@if (FooterContent is not null)
{
@FooterContent
}
@code {
[Parameter]
public RenderFragment ChildContent { get; set; } = default!;
[Parameter]
public RenderFragment FooterContent { get; set; } = default!;
}
Notice I have a RenderFragment here called ChildContent. Later on I've added the second RenderFragment called FooterContent. However the new RenderFragment won't get highlighted in VS and does not show up in Intellisense until I restart Visual Studio. Even compiling the project doesn't help. I have to manually restart VS. I get this behaviour consitantly whenever I add new RenderFragment sections to any of my components.