Visual Studio Code Formatting fail on save

前端 未结 11 1393
悲哀的现实
悲哀的现实 2021-01-08 00:21

I\'ve started learning React Native.

I\'m using Visual Studio Code as my editor.

I\'ve set up the boiler plate and started the app. But whenever I change a .

11条回答
  •  鱼传尺愫
    2021-01-08 01:03

    I found out what this was by looking though the extensions. Thanks to @wgj for the hint.

    Turns out it was the JS-CSS-HTML formatter. I looked through the instructions and have removed the auto save for now. I'll have to work out the specific settings for this.

    It uses js-beautify so if anyone knows the settings I should be looking at would be much appreciated.

提交回复
热议问题