Vscode code formatting removes the quotation marks of the parameters that watch listens to in the vue file, can it not be deleted?

  • < H2 > unformatted code is shown in figure 1: < / H2 >
figure 1
clipboard.png
  • alt+ shift + f 2

clipboard.png

2

clipboard.png

do you guys know how to configure it? it has been tested that the key of object properties will be formatted!


you can check the configuration of your vscode formatting plug-in and change the configuration items that affect this

.
Menu