Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 1ca07f1

Browse files
Merge pull request #160 from AlexanderSher/master
Test work
2 parents 679d2c2 + 8a7e709 commit 1ca07f1

9 files changed

Lines changed: 398 additions & 277 deletions

File tree

src/Analysis/Engine/Impl/LanguageServer/Structures.cs

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -71,46 +71,7 @@ public struct Location {
7171
public Uri uri;
7272
public Range range;
7373
}
74-
75-
[Serializable]
76-
public class Diagnostic {
77-
/// <summary>
78-
/// The range at which the message applies.
79-
/// </summary>
80-
public Range range;
81-
82-
/// <summary>
83-
/// The diagnostic's severity. Can be omitted. If omitted it is up to the
84-
/// client to interpret diagnostics as error, warning, info or hint.
85-
/// </summary>
86-
public DiagnosticSeverity severity;
87-
88-
/// <summary>
89-
/// The diagnostic's code (string, such as 'unresolved-import'). Can be omitted.
90-
/// <seealso cref="Analyzer.ErrorMessages"/>
91-
/// </summary>
92-
public string code;
93-
94-
/// <summary>
95-
/// A human-readable string describing the source of this
96-
/// diagnostic, e.g. 'typescript' or 'super lint'.
97-
/// </summary>
98-
public string source;
99-
100-
/// <summary>
101-
/// The diagnostic's message.
102-
/// </summary>
103-
public string message;
104-
}
105-
106-
public enum DiagnosticSeverity : int {
107-
Unspecified = 0,
108-
Error = 1,
109-
Warning = 2,
110-
Information = 3,
111-
Hint = 4
112-
}
113-
74+
11475
[Serializable]
11576
public struct Command {
11677
/// <summary>

0 commit comments

Comments
 (0)