We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d586f84 commit 1348fc7Copy full SHA for 1348fc7
_specifications/lsp/3.18/types/diagnostic.md
@@ -34,10 +34,22 @@ export interface Diagnostic {
34
source?: string;
35
36
/**
37
- * The diagnostic's message.
+ * The diagnostic's message, e.g. 'Unknown type name "int_8_t"'.
38
*/
39
message: string;
40
41
+ /**
42
+ * An optional property to describe this diagnostic's message with more
43
+ * details. For example:
44
+ * The type name "int_8_t" is unknown. Did you mean any of these types?
45
+ * - int
46
+ * - int8_t
47
+ * Read more about the built-in types [here](file:///path/to/docs.md).
48
+ *
49
+ * @since 3.18.0
50
+ */
51
+ longMessage?: string | MarkupContent;
52
+
53
54
* Additional metadata about the diagnostic.
55
*
@@ -155,4 +167,4 @@ export interface CodeDescription {
155
167
156
168
href: URI;
157
169
}
158
-```
170
+```
0 commit comments