File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
src/PowerShellEditorServices/Services/TextDocument/Handlers Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,20 @@ namespace Microsoft.PowerShell.EditorServices.Handlers
21
21
{
22
22
internal class PsesSemanticTokensHandler : SemanticTokensHandler
23
23
{
24
- private readonly ILogger _logger ;
25
- private readonly WorkspaceService _workspaceService ;
26
- private static readonly SemanticTokensRegistrationOptions s_registrationOptions = new SemanticTokensRegistrationOptions ( ) {
24
+ private static readonly SemanticTokensRegistrationOptions s_registrationOptions = new SemanticTokensRegistrationOptions
25
+ {
27
26
DocumentSelector = LspUtils . PowerShellDocumentSelector ,
28
27
Legend = new SemanticTokensLegend ( ) ,
29
- DocumentProvider = new Supports < SemanticTokensDocumentProviderOptions > ( isSupported : true ,
30
- new SemanticTokensDocumentProviderOptions {
28
+ DocumentProvider = new Supports < SemanticTokensDocumentProviderOptions > (
29
+ isSupported : true ,
30
+ new SemanticTokensDocumentProviderOptions
31
+ {
31
32
Edits = true
32
33
} ) ,
33
34
RangeProvider = true
34
35
} ;
36
+ private readonly ILogger _logger ;
37
+ private readonly WorkspaceService _workspaceService ;
35
38
36
39
public PsesSemanticTokensHandler ( ILogger < PsesSemanticTokensHandler > logger , WorkspaceService workspaceService ) : base ( s_registrationOptions )
37
40
{
You can’t perform that action at this time.
0 commit comments