10

I have the following settings regarding my Tab sizing in Visual Studio 17.4.1:

enter image description here

When I use Edit->Advanced->Format Document, I get this result:

enter image description here

I configured Code Cleanup which allegedly contains Format Document:

enter image description here

When I save or explicitely use it, I get this result:

enter image description here

Are there two separate Format Document commands? How should I get the same result?

0

1 Answer 1

1

I use Visual Studio Community 2022 with Unity, and I had the same issue.

If I launch Visual Studio and click Open Folder to add a project, Code Cleanup won't work. However, if I open a file from Unity, it will launch Visual Studio, and Code Cleanup will work. I can then press Show All Files in Solution Explorer to see the rest of the files.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.