vscode format es6 import {} automatic line wrapping, all with object {} will automatically wrap!
import { Message } from "element-ui"
//
import {
Message
} from "element-ui"
and
next({ path: "/" })
//
next({
path: "/"
})
I just want to show it on the same line, but I can"t.
found a circle in the configuration of vscode, searched the Internet for a long time, but still had no results, and my heart was tired.
I believe that many friends encounter this problem. Many people turn off automatic formatting, but this is not good either. In some places, automatic formatting is still needed.