From 13435c06ff5e6360fd0ef8e8cb5f23711bdbf518 Mon Sep 17 00:00:00 2001 From: David Weber Date: Wed, 29 Mar 2023 21:22:55 +0200 Subject: [PATCH] feat: add documentation url to diagnostics --- src/diagnostics.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/diagnostics.ts b/src/diagnostics.ts index bcd3c10..f2035f7 100644 --- a/src/diagnostics.ts +++ b/src/diagnostics.ts @@ -72,6 +72,11 @@ export interface IDiagnostic { * a scope collide all definitions can be marked via this property. */ relatedInformation?: IDiagnosticRelatedInformation[]; + + /** + * An url pointing to the documentation to which this diagnostic applies. + */ + documentationUrl?: string; } /**