Answer the question
In order to leave comments, you need to log in
Wrapping after pressing Enter in VS Code?
When you press Enter inside a tag, VS Code advances the closing tag to the next line, and puts the cursor in front of it.
How to make behavior similar to Sublime?
Answer the question
In order to leave comments, you need to log in
VS Code looked, it falls short of Sublime.
The way out is to use Atom or the same Sublime Text.
Hello. I understand that this is no longer relevant, but now I myself encountered a similar one, and decided to write what the problem is here. And everything is really simple: you, like me, were in the PHP file editing mode. I checked by creating any.html - there, on pressing enter, the caret automatically stood between the lines, as in the second picture. It's strange, and funny, that immediately after that, this function worked in my original PHP file. These are the miracles.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question