錯誤
vscode格式化代碼報錯
- 錯誤
[Error - 15:07:33] Request textDocument/formatting failed.
Message: Request textDocument/formatting failed with message: Overlapping edit
Code: -32603
- 原因
.vue文件不完整,3部分不完整。 style部分缺少
vscode格式化代碼報錯
[Error - 15:07:33] Request textDocument/formatting failed.
Message: Request textDocument/formatting failed with message: Overlapping edit
Code: -32603
.vue文件不完整,3部分不完整。 style部分缺少
腳本如下: 1 # coding: utf-8 2 3 """ 4 該腳本主要做把源目錄下所有文件,照搬原路徑基礎上覆制文件 5 """ 6 7 import os 8 # import shutil