vscode 解決格式化代碼無效問題

1、原因:     vscode默認啓用了根據文件類型自動設置tabsize的選項, 2、解決方法:        因此,可以通過關閉自動設置選項,防止格式覆蓋。 3、如何操作      在用戶設置裏添加如下配置即可: "editor.detectIndentation": false      file->preferences->settings   搜索detect indentation
相關文章
相關標籤/搜索