You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errors.length>MAX_DIAGNOSTICS_PER_FILE ? `\n... and ${errors.length-MAX_DIAGNOSTICS_PER_FILE} more` : ""
132
-
output+=`\nThis file has errors, please fix\n<file_diagnostics>\n${limited.map(LSP.Diagnostic.pretty).join("\n")}${suffix}\n</file_diagnostics>\n`
132
+
output+=`\n\nLSP errors detected in this file:\n<diagnostics file="${filePath}">\n${limited.map(LSP.Diagnostic.pretty).join("\n")}${suffix}\n</diagnostics>`
errors.length>MAX_DIAGNOSTICS_PER_FILE ? `\n... and ${errors.length-MAX_DIAGNOSTICS_PER_FILE} more` : ""
61
61
if(file===normalizedFilepath){
62
-
output+=`\nThis file has errors, please fix\n<file_diagnostics>\n${limited.map(LSP.Diagnostic.pretty).join("\n")}${suffix}\n</file_diagnostics>\n`
62
+
output+=`\n\nLSP errors detected in this file:\n<diagnostics file="${filepath}">\n${limited.map(LSP.Diagnostic.pretty).join("\n")}${suffix}\n</diagnostics>`
output+=`\n\nLSP errors detected in other files:\n<diagnostics file="${file}">\n${limited.map(LSP.Diagnostic.pretty).join("\n")}${suffix}\n</diagnostics>`
0 commit comments