-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why can't I use "Reformat with CSharpier" in Visual studio 2022? #1072
Comments
Can confirm this issue, moreover this issue also rise if you install Resharper after this, somehow option is missing completely |
Anyway if you get this issue, uninstall the extension, manually download tool to global dotnet tool install -g csharpier #verify you don't have charpier, if you've already had, skip this Then install this extension and it should work out again |
The message "Skipping formatting because process does not support formatting." indicates that the extension was unable to get csharpier running in the background. I haven't had a chance to update VS yet to add more helpful logging, but these Troubleshooting Steps should help figure out why the extension is unable to run CSharpier. |
I've run into the same problem. Uninstall the tool globally and the extension.
Install:
Install extension. Launch VS2022.
So probably the issue is the version includes the id but the folder doesn't. EDIT: Not sure if relevant but a different solution I may have clicked "install locally" instead of globally. I wonder if that could cause this issue. EDIT 2: PM> dotnet tool install csharpier --version 0.26.7 --tool-path "not actual path\local\CSharpier\0.26.7" But this still didn't resolve the issue.
EDIT 3:
EDIT 4:
|
It is unclickable

It doesn't work. When I set "Reformat with CSharpier on Save"

This are my version
CSharpier globally version 0.26.6
Visual Studio CSharpier extension version 1.4.8
Visual Studio 2022 version 17.8.3
I found the log:
OnBeforeSave
Before format
Skipping formatting because process does not support formatting.
Done Format
Thanks.
The text was updated successfully, but these errors were encountered: