@@ -6173,7 +6173,7 @@ type InitializeParams struct {
6173
6173
// if no folder is open.
6174
6174
//
6175
6175
// @deprecated in favour of rootUri.
6176
- RootPath ** string `json:"rootPath,omitzero"`
6176
+ RootPath *string `json:"rootPath,omitzero"`
6177
6177
// The rootUri of the workspace. Is null if no
6178
6178
// folder is open. If both `rootPath` and `rootUri` are set
6179
6179
// `rootUri` wins.
@@ -10274,7 +10274,7 @@ type SignatureHelp struct {
10274
10274
// In future version of the protocol this property might become
10275
10275
// mandatory (but still nullable) to better express the active parameter if
10276
10276
// the active signature does have any.
10277
- ActiveParameter ** uint32 `json:"activeParameter,omitzero"`
10277
+ ActiveParameter *uint32 `json:"activeParameter,omitzero"`
10278
10278
// The active signature. If omitted or the value lies outside the
10279
10279
// range of `signatures` the value defaults to zero or is ignored if
10280
10280
// the `SignatureHelp` has no signatures.
@@ -10500,7 +10500,7 @@ type SignatureInformation struct {
10500
10500
// `SignatureHelp.activeParameter`.
10501
10501
//
10502
10502
// @since 3.16.0
10503
- ActiveParameter ** uint32 `json:"activeParameter,omitzero"`
10503
+ ActiveParameter *uint32 `json:"activeParameter,omitzero"`
10504
10504
// The human-readable doc-comment of this signature. Will be shown
10505
10505
// in the UI but can be omitted.
10506
10506
Documentation *Or2[string, MarkupContent] `json:"documentation,omitzero"`
@@ -13012,7 +13012,7 @@ type _InitializeParams struct {
13012
13012
// if no folder is open.
13013
13013
//
13014
13014
// @deprecated in favour of rootUri.
13015
- RootPath ** string `json:"rootPath,omitzero"`
13015
+ RootPath *string `json:"rootPath,omitzero"`
13016
13016
// The rootUri of the workspace. Is null if no
13017
13017
// folder is open. If both `rootPath` and `rootUri` are set
13018
13018
// `rootUri` wins.
@@ -18620,7 +18620,7 @@ const (
18620
18620
)
18621
18621
func (t CompletionItemKind) validate() error {
18622
18622
switch t {
18623
- case 14,13,1,23,21,18,2,24,22,3,8,16,4,6,25,11,5,17,12,10,15,20,9,7,19 :
18623
+ case 1,10,11,12,13,14,15,16,17,18,19,2,20,21,22,23,24,25,3,4,5,6,7,8,9 :
18624
18624
return nil
18625
18625
}
18626
18626
return fmt.Errorf("invalid CompletionItemKind: %v", t)
@@ -18724,7 +18724,7 @@ const (
18724
18724
)
18725
18725
func (t DiagnosticSeverity) validate() error {
18726
18726
switch t {
18727
- case 1,2,4,3 :
18727
+ case 1,2,3,4 :
18728
18728
return nil
18729
18729
}
18730
18730
return fmt.Errorf("invalid DiagnosticSeverity: %v", t)
@@ -18794,7 +18794,7 @@ const (
18794
18794
)
18795
18795
func (t DocumentDiagnosticReportKind) validate() error {
18796
18796
switch t {
18797
- case "unchanged ","full ":
18797
+ case "full ","unchanged ":
18798
18798
return nil
18799
18799
}
18800
18800
return fmt.Errorf("invalid DocumentDiagnosticReportKind: %v", t)
@@ -18874,7 +18874,7 @@ const (
18874
18874
)
18875
18875
func (t FailureHandlingKind) validate() error {
18876
18876
switch t {
18877
- case "abort","transactional ","textOnlyTransactional ","undo":
18877
+ case "abort","textOnlyTransactional ","transactional ","undo":
18878
18878
return nil
18879
18879
}
18880
18880
return fmt.Errorf("invalid FailureHandlingKind: %v", t)
@@ -18944,7 +18944,7 @@ const (
18944
18944
)
18945
18945
func (t FileOperationPatternKind) validate() error {
18946
18946
switch t {
18947
- case "folder ","file ":
18947
+ case "file ","folder ":
18948
18948
return nil
18949
18949
}
18950
18950
return fmt.Errorf("invalid FileOperationPatternKind: %v", t)
@@ -19205,7 +19205,7 @@ const (
19205
19205
)
19206
19206
func (t MarkupKind) validate() error {
19207
19207
switch t {
19208
- case "plaintext ","markdown ":
19208
+ case "markdown ","plaintext ":
19209
19209
return nil
19210
19210
}
19211
19211
return fmt.Errorf("invalid MarkupKind: %v", t)
@@ -19241,7 +19241,7 @@ const (
19241
19241
)
19242
19242
func (t MessageType) validate() error {
19243
19243
switch t {
19244
- case 4,3,1,5,2 :
19244
+ case 1,2,3,4,5 :
19245
19245
return nil
19246
19246
}
19247
19247
return fmt.Errorf("invalid MessageType: %v", t)
@@ -19277,7 +19277,7 @@ const (
19277
19277
)
19278
19278
func (t MonikerKind) validate() error {
19279
19279
switch t {
19280
- case "local ","import","export ":
19280
+ case "export ","import","local ":
19281
19281
return nil
19282
19282
}
19283
19283
return fmt.Errorf("invalid MonikerKind: %v", t)
@@ -19386,7 +19386,7 @@ const (
19386
19386
)
19387
19387
func (t ResourceOperationKind) validate() error {
19388
19388
switch t {
19389
- case "rename ","create ","delete ":
19389
+ case "create ","delete ","rename ":
19390
19390
return nil
19391
19391
}
19392
19392
return fmt.Errorf("invalid ResourceOperationKind: %v", t)
@@ -19531,7 +19531,7 @@ const (
19531
19531
)
19532
19532
func (t SymbolKind) validate() error {
19533
19533
switch t {
19534
- case 14, 13,1,23,21,2 ,18,24,22,3,8,16,4,6 ,25,11,5,17,12,10,15,26,20,9,7,19 :
19534
+ case 1,10,11,12, 13,14,15,16,17 ,18,19,2,20,21,22,23,24 ,25,26,3,4,5,6,7,8,9 :
19535
19535
return nil
19536
19536
}
19537
19537
return fmt.Errorf("invalid SymbolKind: %v", t)
@@ -19634,7 +19634,7 @@ const (
19634
19634
)
19635
19635
func (t TextDocumentSyncKind) validate() error {
19636
19636
switch t {
19637
- case 1,2,0 :
19637
+ case 0, 1,2:
19638
19638
return nil
19639
19639
}
19640
19640
return fmt.Errorf("invalid TextDocumentSyncKind: %v", t)
@@ -19698,7 +19698,7 @@ const (
19698
19698
)
19699
19699
func (t TraceValue) validate() error {
19700
19700
switch t {
19701
- case "verbose ","off","messages ":
19701
+ case "messages ","off","verbose ":
19702
19702
return nil
19703
19703
}
19704
19704
return fmt.Errorf("invalid TraceValue: %v", t)
@@ -19736,7 +19736,7 @@ const (
19736
19736
)
19737
19737
func (t UniquenessLevel) validate() error {
19738
19738
switch t {
19739
- case "document","global","project ","group ","scheme":
19739
+ case "document","global","group ","project ","scheme":
19740
19740
return nil
19741
19741
}
19742
19742
return fmt.Errorf("invalid UniquenessLevel: %v", t)
0 commit comments