I come from a WPF/UWP dev background, and as such, I'm used to the "XAML-way" of doing things when approaching Razor and CSS development in a Blazor context.
Perhaps I was spoiled in this regard in the XAML world, but it was an instantaneous thing to have the cursor on a xaml element, see that there was a particular Style
applied, then hit F12
to navigate to that style's definition.
What is the equivalent workflow when on an HTML element in a .razor
file, seeing a certain CSS class that is applied, and wanting to navigate to its definition?
It seems that there is no keyboard shortcut for this (i.e. go-to definition and peek definition commands do nothing in a razor context), so what is a fast workflow for this?
I can do it the arduous way of CTRL+F and fiddling with that Find dialog, but c'mon--there's got to be a better way. Surely, folks who develop Blazor frontends all day every day (and are navigating to CSS class definitions hundreds of times per day) have fast workflow for this common move.