2021年10月27日 星期三

2021 VSCode ReactJS Code Formatter

 https://levelup.gitconnected.com/automatically-format-code-in-visual-studio-code-when-working-with-react-c48674a12dc5


VS Code > Extensions

Search prettier, install "Prettier - Code formatter"

CTRL + Shift + P, type "setting" to open VS Code command palette

Select "Preferences: Open User Settings", Toggle on "format on save"

Select "Default Formatter", Select "Prettier - Code formatter"

沒有留言:

張貼留言

202501 Debian USB LAN Card Bridge

 202501 Debian USB LAN Card Bridge ChatGPT Question I have a machine running debian 12 with a LAN port using a cable to connect to my office...