-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathlinked_editing_range.gen.go
More file actions
48 lines (40 loc) · 1.73 KB
/
Copy pathlinked_editing_range.gen.go
File metadata and controls
48 lines (40 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright 2026 The Go Language Server Authors
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by internal/genlsp from metaModel.json; DO NOT EDIT.
package protocol
// LinkedEditingRangeParams is defined by the LSP specification.
type LinkedEditingRangeParams struct {
TextDocumentPositionParams
WorkDoneProgressParams
}
// LinkedEditingRanges The result of a linked editing range request.
//
// Since: 3.16.0
type LinkedEditingRanges struct {
// Ranges A list of ranges that can be edited together. The ranges must have
// identical length and contain identical text content. The ranges cannot overlap.
Ranges []Range `json:"ranges"`
// WordPattern An optional word pattern (regular expression) that describes valid contents for
// the given ranges. If no pattern is provided, the client configuration's word
// pattern will be used.
WordPattern *string `json:"wordPattern,omitzero"`
}
// LinkedEditingRangeRegistrationOptions is defined by the LSP specification.
type LinkedEditingRangeRegistrationOptions struct {
TextDocumentRegistrationOptions
LinkedEditingRangeOptions
StaticRegistrationOptions
}
// LinkedEditingRangeOptions is defined by the LSP specification.
type LinkedEditingRangeOptions struct {
WorkDoneProgressOptions
}
// LinkedEditingRangeClientCapabilities Client capabilities for the linked editing range request.
//
// Since: 3.16.0
type LinkedEditingRangeClientCapabilities struct {
// DynamicRegistration Whether implementation supports dynamic registration. If this is set to `true`
// the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)`
// return value for the corresponding server capability as well.
DynamicRegistration *bool `json:"dynamicRegistration,omitzero"`
}