E
E
Egor Astreiko2019-02-01 20:17:39
Emmet
Egor Astreiko, 2019-02-01 20:17:39

How to setup vs code?

Hello.
I switched to vs code and had problems:
1) I set the formatting of the code when saving the file and there was a problem that vs code wraps long lines of code on a new line
5c547e3bd5e6a528243481.png
2) By default, when creating a new file, vs code uses spaces instead of tabs, how to do that would he use tabs?
5c547e7571ce6660844934.png
3) When laying out html, when you add "|c" emmet leaves a comment, how to make it automatically do this without using "|c" and how to make it leave such comments in .pug files?
5c547f1cee7f2081192687.png
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Egor Astreiko, 2019-02-04
@Egor1324

The problem of solving line wrapping after formatting is solved with: "HTML › Format: Wrap Line Length" = 0.
The problem with auto-comment lines in html is solved with

"emmet.syntaxProfiles": {
        "html": {
            "filters": "c"
        }
    }

E
Evgeny Petrovich, 2019-02-02
@playmar

Settings -> Word Wrap (off) - will not wrap

E
EYPPNM, 2019-02-04
@EYPPNM

one)5c57a5fc190eb782470627.jpeg5c57a60f5a617711598390.jpeg

3)
"|c" emmet doesn't google