@@ -126,7 +125,7 @@ export class DiagnosticCollection implements vscode.DiagnosticCollection {
// add 'signal' marker for showing omitted errors/warnings
marker.push({
severity:Severity.Error,
severity:MarkerSeverity.Error,
message:localize({key:'limitHit',comment:['amount of errors/warning skipped due to limits']},"Not showing {0} further errors and warnings.",diagnostics.length-DiagnosticCollection._maxDiagnosticsPerFile),
@@ -43,14 +42,14 @@ export default class Messages {
publicstaticreadonlyMARKERS_TREE_ARIA_LABEL_RESOURCE=(fileName:string,noOfProblems:number):string=>{returnnls.localize('problems.tree.aria.label.resource',"{0} with {1} problems",fileName,noOfProblems);};
returnmarker.source?nls.localize('problems.tree.aria.label.error.marker',"Error generated by {0}: {1} at line {2} and character {3}",marker.source,marker.message,marker.startLineNumber,marker.startColumn)
:nls.localize('problems.tree.aria.label.error.marker.nosource',"Error: {0} at line {1} and character {2}",marker.message,marker.startLineNumber,marker.startColumn);
caseSeverity.Warning:
caseMarkerSeverity.Warning:
returnmarker.source?nls.localize('problems.tree.aria.label.warning.marker',"Warning generated by {0}: {1} at line {2} and character {3}",marker.source,marker.message,marker.startLineNumber,marker.startColumn)
:nls.localize('problems.tree.aria.label.warning.marker.nosource',"Warning: {0} at line {1} and character {2}",marker.message,marker.startLineNumber,marker.startColumn);
caseSeverity.Info:
caseMarkerSeverity.Info:
returnmarker.source?nls.localize('problems.tree.aria.label.info.marker',"Info generated by {0}: {1} at line {2} and character {3}",marker.source,marker.message,marker.startLineNumber,marker.startColumn)
:nls.localize('problems.tree.aria.label.info.marker.nosource',"Info: {0} at line {1} and character {2}",marker.message,marker.startLineNumber,marker.startColumn);
default:
...
...
@@ -60,4 +59,4 @@ export default class Messages {
}
publicstaticSHOW_ERRORS_WARNINGS_ACTION_LABEL:string=nls.localize('errors.warnings.show.label',"Show Errors and Warnings");