Skip to content

Commit ca0a080

Browse files
author
Omar Tawfik
committed
Address PR comments
1 parent e10e878 commit ca0a080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vsintegration/src/FSharp.Editor/DocumentDiagnosticAnalyzer.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type internal FSharpDocumentDiagnosticAnalyzer() =
2525
inherit DocumentDiagnosticAnalyzer()
2626

2727
static member ConvertError(filePath: string, sourceText: SourceText, error: FSharpErrorInfo) =
28-
let id = "FS" + error.ErrorNumber.ToString()
28+
let id = "FS" + error.ErrorNumber.ToString("0000")
2929
let emptyString = LocalizableString.op_Implicit("")
3030
let description = LocalizableString.op_Implicit(error.Message)
3131
let severity = if error.Severity = FSharpErrorSeverity.Error then DiagnosticSeverity.Error else DiagnosticSeverity.Warning

0 commit comments

Comments
 (0)