![]() ![]() ![]() Use the preview box at the bottom of the Editor | C# | Formatting options page to see an example of every item. The following screencast shows how the Ctrl+G shortcut initiates a Document Formatting action: or Ctrl+~ to invoke the Code Actions Menu, select “Format Document” and press Enter.Ĭreate a new shortcut and bind it to the “ FormatDocument“ command. You can run the Format Document action in one of the following ways:Ĭheck Apply in Action and Apply on Save for the “ Format document“ rule on the Editor | C# | Code Cleanup options page and run a Code Cleanup.Įnable “ Format block on }“ and/or “ Format statement on “ options on the Editor | C# | Formatting | General options page to maintain formatting as you type. Document Formatting allows you to enforce code formatting aspects unavailable in the Visual Studio’s Code Formatting feature. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |