M
M
Memphix2017-04-20 00:10:11
visual studio
Memphix, 2017-04-20 00:10:11

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.
423fe4bb491f491697d7471ada36d356.PNG
How to make behavior similar to Sublime?
bdd9112840b348ff8fb6fab73ff4a156.PNG

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Bukreev, 2017-04-20
@denisbookreev

Buy WebStorm and not suffer

Z
zooks, 2017-04-20
@zooks

VS Code looked, it falls short of Sublime.
The way out is to use Atom or the same Sublime Text.

G
GrinEgor, 2019-03-25
@GrinEgor

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 question

Ask a Question

731 491 924 answers to any question