How to add semicolon to the end of the line in visual studio code

后端 未结 10 1541
故里飘歌
故里飘歌 2020-11-30 02:35

I press Shift+Enter, but not working, Ctrl+Enter start a new line, but not add semicolon at the end of previous line. Is there a

10条回答
  •  粉色の甜心
    2020-11-30 03:23

    I know this is a really old post but Prettier - code formatter for vs code adds the semi colon (amongst other formatting).

    ext install esbenp.prettier-vscode

提交回复
热议问题