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.
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).
See Uncrustify and Artistic Style , as well as Universal Indentation GUI
Ctrl + A, Ctrl + K, D
What are the standard keys (C # profile) for Select All, Format Document. Finding it doesn't take long.
Source: https://habr.com/ru/post/1789334/More articles:How to make UISearchBar in UINavigationBar resize only left margin using block animation? - iosThe maximum number of UITabBar elements allowed in the iPhone SDK? - iphoneInvalid base-64 char array length - c #Ruby / Rails reporting tools? - ruby-on-railsself.view / super.view - supermysql - how do I get a list starting with a letter and continue with the following letters? - mysqlHow can we embed artificial intelligence in javascript games? - javascriptStack-based maze exploration - c ++Best Practice for Progress Bar in Python PyGTK - pythonRewrite (translate) the page portion of a URL in Wordpress - wordpressAll Articles