@@ -11,14 +11,14 @@ import Base.==
11
11
# #############################################################################
12
12
# Code Action
13
13
const CodeActionKind = String
14
- const CodeActionKinds = (Empty = " " ,
15
- QuickFix = " quickfix" ,
16
- Refactor = " refactor" ,
17
- RefactorExtract = " refactor.extract" ,
18
- RefactorInline = " refactor.inline" ,
19
- RefactorRewrite = " refactor.rewrite" ,
20
- Source = " source" ,
21
- SourceOrganizeImports = " source.organizeImports" )
14
+ const CodeActionKinds = (Empty= " " ,
15
+ QuickFix= " quickfix" ,
16
+ Refactor= " refactor" ,
17
+ RefactorExtract= " refactor.extract" ,
18
+ RefactorInline= " refactor.inline" ,
19
+ RefactorRewrite= " refactor.rewrite" ,
20
+ Source= " source" ,
21
+ SourceOrganizeImports= " source.organizeImports" )
22
22
23
23
@dict_readable struct CodeActionKindCapabilities
24
24
valueSet:: Vector{CodeActionKind}
211
211
# #############################################################################
212
212
# Folding
213
213
const FoldingRangeKind = String
214
- const FoldingRangeKinds = (Comment = " comment" ,
215
- Imports = " imports" ,
216
- Region = " region" )
214
+ const FoldingRangeKinds = (Comment= " comment" ,
215
+ Imports= " imports" ,
216
+ Region= " region" )
217
217
218
218
@dict_readable struct FoldingRangeClientCapabilities <: Outbound
219
219
dynamicRegistration:: Union{Bool,Missing}
306
306
@dict_readable struct InlayHintRegistrationOptions <: Outbound
307
307
workDoneToken:: Union{Int,String,Missing} # ProgressToken
308
308
resolveProvider:: Bool # InlayHintOptions
309
- id:: Union{Missing, String} # StaticRegistrationOptions
310
- documentSelector:: Union{Nothing, DocumentSelector} # TextDocumentRegistrationOptions
309
+ id:: Union{Missing,String} # StaticRegistrationOptions
310
+ documentSelector:: Union{Nothing,DocumentSelector} # TextDocumentRegistrationOptions
311
311
end
312
312
313
313
@dict_readable struct InlayHintParams <: Outbound
@@ -318,26 +318,26 @@ end
318
318
319
319
@dict_readable struct InlayHintLabelPart <: Outbound
320
320
value:: String
321
- tooltip:: Union{Missing, String, MarkupContent}
322
- location:: Union{Missing, Location}
323
- command:: Union{Missing, Command}
321
+ tooltip:: Union{Missing,String,MarkupContent}
322
+ location:: Union{Missing,Location}
323
+ command:: Union{Missing,Command}
324
324
end
325
325
326
326
const InlayHintKind = Int
327
327
const InlayHintKinds = (
328
- Type = 1 ,
329
- Parameter = 2
328
+ Type= 1 ,
329
+ Parameter= 2
330
330
)
331
331
332
332
@dict_readable struct InlayHint <: Outbound
333
333
position:: Position
334
- label:: Union{String, Vector{InlayHintLabelPart}}
335
- kind:: Union{Missing, InlayHintKind}
336
- textEdits:: Union{Missing, Vector{TextEdit}}
337
- tooltip:: Union{Missing, String, MarkupContent}
338
- paddingLeft:: Union{Missing, Bool}
339
- paddingRight:: Union{Missing, Bool}
340
- data:: Union{Missing, Any}
334
+ label:: Union{String,Vector{InlayHintLabelPart}}
335
+ kind:: Union{Missing,InlayHintKind}
336
+ textEdits:: Union{Missing,Vector{TextEdit}}
337
+ tooltip:: Union{Missing,String,MarkupContent}
338
+ paddingLeft:: Union{Missing,Bool}
339
+ paddingRight:: Union{Missing,Bool}
340
+ data:: Union{Missing,Any}
341
341
end
342
342
343
343
# #############################################################################
0 commit comments