0

I want to format tsconfig.json without change spaces and commas. this tsc --init config enter image description here

after format,spaces and commas change. what should I do? enter image description here

1 Answers1

0

The commas are going to be placed at the end of those multi-line comments (/* ... */). So you would have to remove them or put them on independent lines.

Quickly get rid of multi-line comments in Visual Studio Code

  1. CTRL + H
  2. Tick Use Regular Expression
  3. Paste \s* \/\* .* \*\/
  4. Click Replace all
VibingCreator
  • 97
  • 1
  • 3