dev*_*_el 4 visual-studio-code prettier
我最近更新了 VSCode,Prettier 不再对我的 JS 文件起作用。以前每当我保存 JS 文件时,Prettier 都会为我添加分号。现在,当我保存时,不会添加分号。我启用了插件并检查了设置以确保启用了分号插入。什么可能导致此错误?
这对我有用:
View
-> Command Palette
(或输入CMD
+ shift
+ P
)Format Document
原答案:为什么 Prettier 不格式化 VSCODE 中的代码?
归档时间: |
|
查看次数: |
5240 次 |
最近记录: |