How to create a custom indentation in visual studio code

Asked

Viewed 47 times

1

Hello. I would like to know how you do for the visual studio code no different than the one I want to save. I want it like this:

function classificaIMC(imc) 

{

}

But he thinks so:

function classificaIMC(imc) {

}

I want this indentation for all codes, both for C# and for javascript and html...

  • Try to disable anything identation you have installed and configured. Normally the indentation does not change when saving the file, unless you have changed something in the default configuration, or installed some plugin/extension

  • And how do you do that?

  • You will not have enabled indentation when saved ? This is done by placing "editor.formatOnSave": true in the settings.json

No answers

Browser other questions tagged

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