각종문제

vs code에서 자동 줄내림됨.

[원본출처 : https://stackoverflow.com/questions/38057725/turn-off-auto-formatting-for-json-files-in-visual-studio-code]

  • OK, check if you have installed this extension: “JS-CSS-HTML formatter”.
  • Now if you have, press CTRL+SHIFT+P, type Formatter and you should see an option that says Formatter Config.
  • After selecting that option, a file named formatter.json opens and all you do is edit the property (named onSave) from having true to being false.
  • Restart vs code and voilà!! It stopped auto formatting. (yay!!!!)

  • CTRL+SHIFT+P
  • Formatter Config 검색하여 실행
  • onSave를 검색하여 false로 작성
  • 에디터 재실행