Code formatting Visual Studio Code - Line Length

后端 未结 2 2104
悲哀的现实
悲哀的现实 2021-02-19 07:13

I\'ve been working with Visual Studio Code for a while. Since yesterday the code formatting is not working as I expect but I haven\'t changed any configuration.

This is

相关标签:
2条回答
  • 2021-02-19 08:00

    Open Extensions on the menu on the left or File menu.

    Then click on the extension settings button.

    Change the line length for the extension you are working with.

    0 讨论(0)
  • 2021-02-19 08:01

    This is not TypeScript or VSCode doing this.

    You have the prettier extension installed. Prettier will always do this, as prettier knows better

    0 讨论(0)
提交回复
热议问题