Recurring problem
- In recent vscode, when the format code (shortcut alt + shift + F), semicolon baffling disappearance
- Accustomed to scoring number for me, it seems very awkward ...
solution.
- I am using
prettier
this plugin to set formatting. - Installation is as follows:
Click on the left side:
search prettier, selectPrettier - Code formatter
- After installing the Select
文件
->首选项
->设置
- Here turn
on the hook like QAQ