X
X
xnkka2020-02-14 13:30:22
Visual Studio Code
xnkka, 2020-02-14 13:30:22

Remove auto line wrapping when formatting (ctrl+alt+f) in vscode(win10)?

A string of this format After formatting
import { Foo } from "../Boo";

import {
    Foo
} from "../Boo";

How to turn it off, I dug in the settings, but did not find

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freelion93, 2020-02-14
@xnkka

In the F1 => Open Settings (JSON) configuration settings, write the following property:
"editor.wordWrap": "off",
PS If various linters like ESLint or Beautify are enabled, then either configure or remove them too

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question