Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit bffb972

Browse files
committed
Add TraceKind static class
1 parent d38016d commit bffb972

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

LanguageServer/Parameters/General/InitializeParams.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ public class InitializeParams
3535
/// <remarks>
3636
/// If omitted trace is disabled ('off').
3737
/// </remarks>
38+
/// <value>
39+
/// See <see cref="LanguageServer.Parameters.TraceKind"/> for an enumeration of standardized kinds.
40+
/// </value>
41+
/// <seealso cref="LanguageServer.Parameters.TraceKind"/>
3842
public string trace { get; set; }
3943
}
4044
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
namespace LanguageServer.Parameters
2+
{
3+
/// <summary>
4+
/// For <c>initialize</c>
5+
/// </summary>
6+
/// <seealso cref="LanguageServer.Parameters.General.InitializeParams.trace"/>
7+
public static class TraceKind
8+
{
9+
/// <summary>
10+
/// trace is disabled.
11+
/// </summary>
12+
public const string Off = "off";
13+
14+
/// <summary>
15+
/// trace is partially enabled.
16+
/// </summary>
17+
public const string Messages = "messages";
18+
19+
/// <summary>
20+
/// trace is fully enabled.
21+
/// </summary>
22+
public const string Verbose = "verbose";
23+
}
24+
}

0 commit comments

Comments
 (0)