About 8,400 results
Open links in new tab
  1. How do you format code in Visual Studio Code (VSCode)?

    Apr 30, 2015 · Visual Studio Code 1.6.1 supports "Format On Save" which will automatically pick up relevant installed formatter extensions and format the whole document on each save. …

  2. How to indent/format a selection of code in Visual Studio Code?

    I want to indent a specific section of code in Visual Studio Code. I read How do you format code in Visual Studio Code? that gives shortcuts to indent the whole code, but it doesn't work when …

  3. How do you auto format code in Visual Studio? - Stack Overflow

    Apr 22, 2011 · Using VS 2017 I wanted to format web page HTML which somehow had become entirely left aligned. Even after installing Productivity Power Tools this wouldn't work. To fix, for …

  4. How do you format code on save in VS Code - Stack Overflow

    No need to add commands anymore. For those who are new to Visual Studio Code and searching for an easy way to format code on saving, kindly follow the below steps. Open Settings by …

  5. How do you change the formatting options in Visual Studio Code?

    May 6, 2015 · Beautify javascript, JSON, CSS, Sass, and HTML in Visual Studio Code. VS Code uses js-beautify internally, but it lacks the ability to modify the style you wish to use. This …

  6. VSCode: How do you autoformat on save? - Stack Overflow

    May 30, 2018 · Search for "format" Change "Editor: Format On Save" or "Editor: Format On Paste". There are also Keyboard Shortcuts for formatting in VS Code. For instance, the default …

  7. Indent/format code in Visual Studio code on MAC

    Feb 2, 2016 · A good way to find commands is by navigating to: Code -> Preferences -> Keyboard Shortcuts. Also, the Visual Studio Code team provided those handy shortcut pdfs: …

  8. How do I format all files in a Visual Studio Code project?

    Apr 27, 2017 · Use the extension called ”Format Files”. Here are the steps: Download the extension called ”Format Files” on VSCode. Select and open the folder with files to format on …

  9. Visual Studio Code doesn't format C# code - Stack Overflow

    Nov 17, 2017 · It should now make code auto-format when you complete the line with a semicolon, or when you close the outer brace of a scope. Note: this is a global setting for the …

  10. Is there a format code shortcut for Visual Studio?

    Feb 9, 2011 · Ctrl+E, Ctrl+D to format the entire document. Ctrl+E, Ctrl+F to format the selection. You can change these in menu Tools → Options → Environment → Keyboard (either by …

Refresh