Skip to content

Commit ba7e5cb

Browse files
committed
Address comments
1 parent eb84d7c commit ba7e5cb

File tree

353 files changed

+26
-1277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

353 files changed

+26
-1277
lines changed

lsp-types/generated/Language/LSP/Protocol/Internal/Types/AnnotatedTextEdit.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,20 @@ import qualified Language.LSP.Protocol.Types.Common
1818
A special text edit with an additional change annotation.
1919
2020
@since 3.16.0.
21-
2221
-}
2322
data AnnotatedTextEdit = AnnotatedTextEdit
2423
{ {-|
2524
The range of the text document to be manipulated. To insert
2625
text into a document create a range where start === end.
27-
2826
-}
2927
_range :: Language.LSP.Protocol.Internal.Types.Range.Range
3028
, {-|
3129
The string to be inserted. For delete operations use an
3230
empty string.
33-
3431
-}
3532
_newText :: Data.Text.Text
3633
, {-|
3734
The actual identifier of the change annotation
38-
3935
-}
4036
_annotationId :: Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier.ChangeAnnotationIdentifier
4137
}

lsp-types/generated/Language/LSP/Protocol/Internal/Types/ApplyWorkspaceEditParams.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,16 @@ import qualified Language.LSP.Protocol.Types.Common
1515

1616
{-|
1717
The parameters passed via a apply workspace edit request.
18-
1918
-}
2019
data ApplyWorkspaceEditParams = ApplyWorkspaceEditParams
2120
{ {-|
2221
An optional label of the workspace edit. This label is
2322
presented in the user interface for example on an undo
2423
stack to undo the workspace edit.
25-
2624
-}
2725
_label :: (Maybe Data.Text.Text)
2826
, {-|
2927
The edits to apply.
30-
3128
-}
3229
_edit :: Language.LSP.Protocol.Internal.Types.WorkspaceEdit.WorkspaceEdit
3330
}

lsp-types/generated/Language/LSP/Protocol/Internal/Types/ApplyWorkspaceEditResult.hs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,22 @@ import qualified Language.LSP.Protocol.Types.Common
1616
The result returned from the apply workspace edit request.
1717
1818
@since 3.17 renamed from ApplyWorkspaceEditResponse
19-
2019
-}
2120
data ApplyWorkspaceEditResult = ApplyWorkspaceEditResult
2221
{ {-|
2322
Indicates whether the edit was applied or not.
24-
2523
-}
2624
_applied :: Bool
2725
, {-|
2826
An optional textual description for why the edit was not applied.
2927
This may be used by the server for diagnostic logging or to provide
3028
a suitable error for a request that triggered the edit.
31-
3229
-}
3330
_failureReason :: (Maybe Data.Text.Text)
3431
, {-|
3532
Depending on the client's failure handling strategy `failedChange` might
3633
contain the index of the change that failed. This property is only available
3734
if the client signals a `failureHandlingStrategy` in its client capabilities.
38-
3935
-}
4036
_failedChange :: (Maybe Language.LSP.Protocol.Types.Common.UInt)
4137
}

lsp-types/generated/Language/LSP/Protocol/Internal/Types/BaseSymbolInformation.hs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,27 @@ import qualified Language.LSP.Protocol.Types.Common
1616

1717
{-|
1818
A base for all symbol information.
19-
2019
-}
2120
data BaseSymbolInformation = BaseSymbolInformation
2221
{ {-|
2322
The name of this symbol.
24-
2523
-}
2624
_name :: Data.Text.Text
2725
, {-|
2826
The kind of this symbol.
29-
3027
-}
3128
_kind :: Language.LSP.Protocol.Internal.Types.SymbolKind.SymbolKind
3229
, {-|
3330
Tags for this symbol.
3431
3532
@since 3.16.0
36-
3733
-}
3834
_tags :: (Maybe [Language.LSP.Protocol.Internal.Types.SymbolTag.SymbolTag])
3935
, {-|
4036
The name of the symbol containing this symbol. This information is for
4137
user interface purposes (e.g. to render a qualifier in the user interface
4238
if necessary). It can't be used to re-infer a hierarchy for the document
4339
symbols.
44-
4540
-}
4641
_containerName :: (Maybe Data.Text.Text)
4742
}

lsp-types/generated/Language/LSP/Protocol/Internal/Types/CallHierarchyClientCapabilities.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ import qualified Language.LSP.Protocol.Types.Common
1313

1414
{-|
1515
@since 3.16.0
16-
1716
-}
1817
data CallHierarchyClientCapabilities = CallHierarchyClientCapabilities
1918
{ {-|
2019
Whether implementation supports dynamic registration. If this is set to `true`
2120
the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)`
2221
return value for the corresponding server capability as well.
23-
2422
-}
2523
_dynamicRegistration :: (Maybe Bool)
2624
}

lsp-types/generated/Language/LSP/Protocol/Internal/Types/CallHierarchyIncomingCall.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,15 @@ import qualified Language.LSP.Protocol.Types.Common
1717
Represents an incoming call, e.g. a caller of a method or constructor.
1818
1919
@since 3.16.0
20-
2120
-}
2221
data CallHierarchyIncomingCall = CallHierarchyIncomingCall
2322
{ {-|
2423
The item that makes the call.
25-
2624
-}
2725
_from :: Language.LSP.Protocol.Internal.Types.CallHierarchyItem.CallHierarchyItem
2826
, {-|
2927
The ranges at which the calls appear. This is relative to the caller
3028
denoted by `CallHierarchyIncomingCall.from`.
31-
3229
-}
3330
_fromRanges :: [Language.LSP.Protocol.Internal.Types.Range.Range]
3431
}

lsp-types/generated/Language/LSP/Protocol/Internal/Types/CallHierarchyIncomingCallsParams.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,15 @@ import qualified Language.LSP.Protocol.Types.Common
1717
The parameter of a `callHierarchy/incomingCalls` request.
1818
1919
@since 3.16.0
20-
2120
-}
2221
data CallHierarchyIncomingCallsParams = CallHierarchyIncomingCallsParams
2322
{ {-|
2423
An optional token that a server can use to report work done progress.
25-
2624
-}
2725
_workDoneToken :: (Maybe Language.LSP.Protocol.Internal.Types.ProgressToken.ProgressToken)
2826
, {-|
2927
An optional token that a server can use to report partial results (e.g. streaming) to
3028
the client.
31-
3229
-}
3330
_partialResultToken :: (Maybe Language.LSP.Protocol.Internal.Types.ProgressToken.ProgressToken)
3431
, {-|

lsp-types/generated/Language/LSP/Protocol/Internal/Types/CallHierarchyItem.hs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,49 +22,40 @@ Represents programming constructs like functions or constructors in the context
2222
of call hierarchy.
2323
2424
@since 3.16.0
25-
2625
-}
2726
data CallHierarchyItem = CallHierarchyItem
2827
{ {-|
2928
The name of this item.
30-
3129
-}
3230
_name :: Data.Text.Text
3331
, {-|
3432
The kind of this item.
35-
3633
-}
3734
_kind :: Language.LSP.Protocol.Internal.Types.SymbolKind.SymbolKind
3835
, {-|
3936
Tags for this item.
40-
4137
-}
4238
_tags :: (Maybe [Language.LSP.Protocol.Internal.Types.SymbolTag.SymbolTag])
4339
, {-|
4440
More detail for this item, e.g. the signature of a function.
45-
4641
-}
4742
_detail :: (Maybe Data.Text.Text)
4843
, {-|
4944
The resource identifier of this item.
50-
5145
-}
5246
_uri :: Language.LSP.Protocol.Types.Uri.Uri
5347
, {-|
5448
The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.
55-
5649
-}
5750
_range :: Language.LSP.Protocol.Internal.Types.Range.Range
5851
, {-|
5952
The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function.
6053
Must be contained by the `CallHierarchyItem.range`.
61-
6254
-}
6355
_selectionRange :: Language.LSP.Protocol.Internal.Types.Range.Range
6456
, {-|
6557
A data entry field that is preserved between a call hierarchy prepare and
6658
incoming calls or outgoing calls requests.
67-
6859
-}
6960
_data_ :: (Maybe Data.Aeson.Value)
7061
}

lsp-types/generated/Language/LSP/Protocol/Internal/Types/CallHierarchyOptions.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import qualified Language.LSP.Protocol.Types.Common
1515
Call hierarchy options used during static registration.
1616
1717
@since 3.16.0
18-
1918
-}
2019
data CallHierarchyOptions = CallHierarchyOptions
2120
{ {-|

lsp-types/generated/Language/LSP/Protocol/Internal/Types/CallHierarchyOutgoingCall.hs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,16 @@ import qualified Language.LSP.Protocol.Types.Common
1717
Represents an outgoing call, e.g. calling a getter from a method or a method from a constructor etc.
1818
1919
@since 3.16.0
20-
2120
-}
2221
data CallHierarchyOutgoingCall = CallHierarchyOutgoingCall
2322
{ {-|
2423
The item that is called.
25-
2624
-}
2725
_to :: Language.LSP.Protocol.Internal.Types.CallHierarchyItem.CallHierarchyItem
2826
, {-|
2927
The range at which this item is called. This is the range relative to the caller, e.g the item
3028
passed to `CallHierarchyItemProvider.provideCallHierarchyOutgoingCalls`
3129
and not `CallHierarchyOutgoingCall.to`.
32-
3330
-}
3431
_fromRanges :: [Language.LSP.Protocol.Internal.Types.Range.Range]
3532
}

0 commit comments

Comments
 (0)