Skip to content

LspFeatureSet ​

Namespace: Hex1b.LanguageServer

Assembly: Hex1b.dll

Flags enum identifying individual LSP features that can be enabled/disabled per language extension.

csharp
[Flags]
public enum LspFeatureSet

Fields ​

All ​

All features enabled.

Returns: LspFeatureSet

csharp
All = -1

CallHierarchy ​

Call hierarchy navigation.

Returns: LspFeatureSet

csharp
CallHierarchy = 65536

CodeActions ​

Code actions (quick fixes, refactorings).

Returns: LspFeatureSet

csharp
CodeActions = 256

CodeLens ​

Code lens annotations.

Returns: LspFeatureSet

csharp
CodeLens = 32768

Completion ​

Code completion suggestions.

Returns: LspFeatureSet

csharp
Completion = 2

Definition ​

Go to definition navigation.

Returns: LspFeatureSet

csharp
Definition = 16

Diagnostics ​

Inline diagnostic markers.

Returns: LspFeatureSet

csharp
Diagnostics = 4

DocumentHighlight ​

Highlight occurrences of the symbol under cursor.

Returns: LspFeatureSet

csharp
DocumentHighlight = 2048

DocumentSymbol ​

Document symbol outline.

Returns: LspFeatureSet

csharp
DocumentSymbol = 1024

FoldingRange ​

Code folding regions.

Returns: LspFeatureSet

csharp
FoldingRange = 4096

Formatting ​

Document formatting.

Returns: LspFeatureSet

csharp
Formatting = 512

Hover ​

Hover information popups.

Returns: LspFeatureSet

csharp
Hover = 8

InlayHints ​

Inlay hints (parameter names, inferred types).

Returns: LspFeatureSet

csharp
InlayHints = 16384

None ​

No features enabled.

Returns: LspFeatureSet

csharp
None = 0

References ​

Find all references.

Returns: LspFeatureSet

csharp
References = 32

Rename ​

Symbol rename refactoring.

Returns: LspFeatureSet

csharp
Rename = 64

SelectionRange ​

Smart selection expansion.

Returns: LspFeatureSet

csharp
SelectionRange = 8192

SemanticTokens ​

Semantic token-based syntax highlighting.

Returns: LspFeatureSet

csharp
SemanticTokens = 1

SignatureHelp ​

Function signature help.

Returns: LspFeatureSet

csharp
SignatureHelp = 128

TypeHierarchy ​

Type hierarchy navigation.

Returns: LspFeatureSet

csharp
TypeHierarchy = 131072

Released under the MIT License.