codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.89k stars 356 forks source link

.cshtml razor files are not being formatted when using Clean Up Active Document #921

Closed rippo closed 2 years ago

rippo commented 2 years ago

I have just downloaded a new version VS2022 and codemaid. I have not downloaded VS2022 before today

Environment

Steps to recreate

Open a Razor cshtml page add some blank lines and choose Clean Up Active Document

Current behavior

it appears .cshtml RAZOR files are not being formatted when using Clean Up Active Document

I have seen this issue and am wondering if it has resurfaced? https://github.com/codecadwallader/codemaid/issues/891

This works in vs2019 fine

codecadwallader commented 2 years ago

Thanks for reporting the issue. This is actually the same issue the fix just hasn't been deployed yet. We've been dragging feet for a release waiting on some SDK issues to get resolved. The other issue does link to a CI build that can be used in the interim.

rippo commented 2 years ago

Thanks, downloaded from https://www.vsixgallery.com/extension/9079e73d-3fbb-4e07-8dab-f44fa5d8e8b5 and can confirm it all works. Will close