How to prohibit line breaks when introducing modules into JS code in vue projects

// 
import {
  debounce
} from "throttle-debounce";
The

editor is vscode with vetur and prettier installed. It is useless for me to disable these two plug-ins separately. When the project does not start the development environment, this code can be formatted as

.
// 
import { debounce } from "throttle-debounce";

but after the project starts, it is formatted into one using the formatted name that comes with vscode.

how to make the introduction of this form in both js files and vue files be formatted according to the format binomial.


add:

to setting.json
  

is it possible that you have customized other formats in vscode, such as the newline format of {} ?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bee913-31bf0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bee913-31bf0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?