niklaskallander / vs-unobtrusive-code

An extension for Visual Studio that lets you hide away obtrusive code like comments and logging, to let you focus on the actual flow of your application.
MIT License
24 stars 1 forks source link

Feature: Ability to hide/collapse html attribtues. #15

Open StevenTCramer opened 2 years ago

StevenTCramer commented 2 years ago

Feature request:

I use tailwind and in Razor and cshtml files this would be really nice. When I want to focus on the structure of the document not the style.

<div class="w-full font-bold text-xl text-gray-900 px-6">@Model.Something</div>

would become

<div class="...">@Model.Something</div>
niklaskallander commented 9 months ago

@StevenTCramer Sorry for taking so long to respond to this. Embarrassing, really. 👎

It's a great idea, and I can really see its value. However, I'm not ready to invest my time in implementing it as I mostly work with C# in Visual Studio, for everything else I use VS Code.

If this is still of interest to you, and you're willing to put in the time, then feel free to make a PR!

Thanks!