Is the formatting correct?

Is it possible for the visual studio to always correctly format the code? I use a format document and a selection, but it is wasting time. Any solutions? Third-party tools are also welcome.

+3
source share
3 answers

I use CodeMaid , which formats a document (and does some other custom things, such as removing extra blank lines, etc.) automatically save. Available for 2005/2008/2010 (I used it only in VS2010).

+3
source

Ctrl + A, Ctrl + K, D

What are the standard keys (C # profile) for Select All, Format Document. Finding it doesn't take long.

0
source

Source: https://habr.com/ru/post/1789334/


All Articles