Visual Correction Studio

Asked

Viewed 32 times

0

How to fix this formatting?

Example, visual use Studio and everything I’m writing is being separated this way:

function Menu() {
    return ( <
        header > Revista < /header>
    );
}

No way they’re putting it together. I was giving "Complexity is 3 Everything" before but I pulled it out. It’s a silly question only I really have no idea what’s activated to keep giving it away.

  • 1

    You can use the Prettier for formatting

  • Pro Visual Studio, the extension is https://github.com/madskristensen/JavaScriptPrettier . Pro Vscode, only search for extensions by "prettier".

  • You probably have the beautify extension installed. Disable and be happy

1 answer

2

Depending on the language you are using, you can download some Code Formatter plugin for the specific language you are going to use. Just look in the VS Code extension gallery: "Your Formatter Language". Just click somewhere in the document and press alt+shift+F.

There’s something like that too: Vscode

Browser other questions tagged

You are not signed in. Login or sign up in order to post.