razor
razor copied to clipboard
Use a different coloring for component slots (i.e. renderfragment parameters)
in this image, Menu is a [Parameter] of type RenderFragment - thus creating a Slot to put things into.
I suggest that those slots should be drawn in a different color to differentiate their declarations from actual component instanciations.
This is mostly tooling, but I assume if we wanted to do this, we'd need the compiler to classify them differently?
I don't know for sure, but I suspect there is enough metadata in a tag helper descriptor that this can probably be done entirely on the tooling side.