-
Notifications
You must be signed in to change notification settings - Fork 90
/
lsp-types.cabal
671 lines (643 loc) · 33.4 KB
/
lsp-types.cabal
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
cabal-version: 3.0
name: lsp-types
version: 2.3.0.0
synopsis:
Haskell library for the Microsoft Language Server Protocol, data types
description:
An implementation of the types to allow language implementors to
support the Language Server Protocol for their specific language.
homepage: https://github.com/haskell/lsp
license: MIT
license-file: LICENSE
author: Alan Zimmerman
maintainer: alan.zimm@gmail.com
copyright: Alan Zimmerman, 2016-2021
category: Development
build-type: Simple
extra-source-files:
ChangeLog.md
metaModel.json
README.md
source-repository head
type: git
location: https://github.com/haskell/lsp
flag force-ospath
default: False
manual: False
description:
Force a version bound on filepath library, to enable 'OsPath'.
common warnings
ghc-options: -Wunused-packages
library
import: warnings
hs-source-dirs: src generated
default-language: GHC2021
-- Various things we want on by default
-- * syntactic niceties, QOL
-- * we always want more deriving options
-- * we want all data strict by default
-- * we have lots of duplicte record fields
-- * extended type class stuff particularly for the
-- lens classes
-- * fancy types for singletons etc.
default-extensions:
DataKinds
DeriveAnyClass
DerivingStrategies
DerivingVia
DuplicateRecordFields
FunctionalDependencies
GADTs
NegativeLiterals
OverloadedStrings
StrictData
TypeFamilies
UndecidableInstances
build-depends:
, aeson >=2 && <2.3
, base >=4.11 && <5
, binary ^>=0.8
, containers >=0.6 && < 0.8
, data-default ^>=0.7
, deepseq >=1.4 && <1.6
, Diff >=0.4 && <0.6
, dlist ^>=1.0
, hashable ^>=1.4
, indexed-traversable ^>=0.1
, indexed-traversable-instances ^>=0.1
, lens >=5.1 && <5.4
, mod ^>=0.2
, mtl >=2.2 && <2.4
, network-uri ^>=2.6
, prettyprinter ^>=1.7
, row-types ^>=1.0
, safe ^>=0.3
, some ^>=1.0
, template-haskell >=2.7 && <2.23
, text >=1 && <2.2
-- This version of filepath comes with GHC 9.6, so
-- we should be able to drop this flag once we only
-- support 9.6 or higher
if flag(force-ospath)
build-depends: filepath >=1.4.100.0 && < 1.6
else
build-depends: filepath >=1.4 && < 1.6
if impl(ghc >= 9.6)
build-depends: exceptions ^>=0.10
ghc-options:
-Wall -Wmissing-deriving-strategies
-Wno-unticked-promoted-constructors
exposed-modules:
Data.IxMap
Data.Row.Aeson
Data.Row.Hashable
Language.LSP.Protocol.Capabilities
Language.LSP.Protocol.Lens
Language.LSP.Protocol.Message
Language.LSP.Protocol.Types
Language.LSP.Protocol.Meta
Language.LSP.Protocol.Utils.Misc
Language.LSP.Protocol.Utils.SMethodMap
other-modules:
Language.LSP.Protocol.Message.Lens
Language.LSP.Protocol.Message.LspId
Language.LSP.Protocol.Message.Meta
Language.LSP.Protocol.Message.Method
Language.LSP.Protocol.Message.Parsing
Language.LSP.Protocol.Message.Registration
Language.LSP.Protocol.Message.Types
Language.LSP.Protocol.Types.CodeAction
Language.LSP.Protocol.Types.Common
Language.LSP.Protocol.Types.Edit
Language.LSP.Protocol.Types.Lens
Language.LSP.Protocol.Types.Location
Language.LSP.Protocol.Types.LspEnum
Language.LSP.Protocol.Types.MarkupContent
Language.LSP.Protocol.Types.Orphans
Language.LSP.Protocol.Types.Progress
Language.LSP.Protocol.Types.SemanticTokens
Language.LSP.Protocol.Types.Singletons
Language.LSP.Protocol.Types.Uri
Language.LSP.Protocol.Types.Uri.OsPath
Language.LSP.Protocol.Types.WatchKinds
-- The generated modules
-- In principle these could be in a separate component,
-- but a) the generated modules depend on some of the common code
-- and b) some of the helper code depends on the generated modules
-- It's simpler to just have everything in together, otherwise we'd
-- actually need three layers!
other-modules:
Language.LSP.Protocol.Internal.Meta
Language.LSP.Protocol.Internal.Method
Language.LSP.Protocol.Internal.Types
Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit
Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams
Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult
Language.LSP.Protocol.Internal.Types.BaseSymbolInformation
Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities
Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall
Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams
Language.LSP.Protocol.Internal.Types.CallHierarchyItem
Language.LSP.Protocol.Internal.Types.CallHierarchyOptions
Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall
Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams
Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams
Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions
Language.LSP.Protocol.Internal.Types.CancelParams
Language.LSP.Protocol.Internal.Types.ChangeAnnotation
Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier
Language.LSP.Protocol.Internal.Types.ClientCapabilities
Language.LSP.Protocol.Internal.Types.CodeAction
Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities
Language.LSP.Protocol.Internal.Types.CodeActionContext
Language.LSP.Protocol.Internal.Types.CodeActionKind
Language.LSP.Protocol.Internal.Types.CodeActionOptions
Language.LSP.Protocol.Internal.Types.CodeActionParams
Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions
Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind
Language.LSP.Protocol.Internal.Types.CodeDescription
Language.LSP.Protocol.Internal.Types.CodeLens
Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities
Language.LSP.Protocol.Internal.Types.CodeLensOptions
Language.LSP.Protocol.Internal.Types.CodeLensParams
Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions
Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities
Language.LSP.Protocol.Internal.Types.Color
Language.LSP.Protocol.Internal.Types.ColorInformation
Language.LSP.Protocol.Internal.Types.ColorPresentation
Language.LSP.Protocol.Internal.Types.ColorPresentationParams
Language.LSP.Protocol.Internal.Types.Command
Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities
Language.LSP.Protocol.Internal.Types.CompletionContext
Language.LSP.Protocol.Internal.Types.CompletionItem
Language.LSP.Protocol.Internal.Types.CompletionItemKind
Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails
Language.LSP.Protocol.Internal.Types.CompletionItemTag
Language.LSP.Protocol.Internal.Types.CompletionList
Language.LSP.Protocol.Internal.Types.CompletionOptions
Language.LSP.Protocol.Internal.Types.CompletionParams
Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions
Language.LSP.Protocol.Internal.Types.CompletionTriggerKind
Language.LSP.Protocol.Internal.Types.ConfigurationItem
Language.LSP.Protocol.Internal.Types.ConfigurationParams
Language.LSP.Protocol.Internal.Types.CreateFile
Language.LSP.Protocol.Internal.Types.CreateFileOptions
Language.LSP.Protocol.Internal.Types.CreateFilesParams
Language.LSP.Protocol.Internal.Types.Declaration
Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities
Language.LSP.Protocol.Internal.Types.DeclarationLink
Language.LSP.Protocol.Internal.Types.DeclarationOptions
Language.LSP.Protocol.Internal.Types.DeclarationParams
Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions
Language.LSP.Protocol.Internal.Types.Definition
Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities
Language.LSP.Protocol.Internal.Types.DefinitionLink
Language.LSP.Protocol.Internal.Types.DefinitionOptions
Language.LSP.Protocol.Internal.Types.DefinitionParams
Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions
Language.LSP.Protocol.Internal.Types.DeleteFile
Language.LSP.Protocol.Internal.Types.DeleteFileOptions
Language.LSP.Protocol.Internal.Types.DeleteFilesParams
Language.LSP.Protocol.Internal.Types.Diagnostic
Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities
Language.LSP.Protocol.Internal.Types.DiagnosticOptions
Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions
Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation
Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData
Language.LSP.Protocol.Internal.Types.DiagnosticSeverity
Language.LSP.Protocol.Internal.Types.DiagnosticTag
Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities
Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities
Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams
Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions
Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams
Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams
Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities
Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams
Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions
Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams
Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams
Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams
Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams
Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams
Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams
Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams
Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities
Language.LSP.Protocol.Internal.Types.DocumentColorOptions
Language.LSP.Protocol.Internal.Types.DocumentColorParams
Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions
Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams
Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind
Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult
Language.LSP.Protocol.Internal.Types.DocumentFilter
Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities
Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions
Language.LSP.Protocol.Internal.Types.DocumentFormattingParams
Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions
Language.LSP.Protocol.Internal.Types.DocumentHighlight
Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities
Language.LSP.Protocol.Internal.Types.DocumentHighlightKind
Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions
Language.LSP.Protocol.Internal.Types.DocumentHighlightParams
Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions
Language.LSP.Protocol.Internal.Types.DocumentLink
Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities
Language.LSP.Protocol.Internal.Types.DocumentLinkOptions
Language.LSP.Protocol.Internal.Types.DocumentLinkParams
Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions
Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities
Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions
Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams
Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions
Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities
Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions
Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams
Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions
Language.LSP.Protocol.Internal.Types.DocumentSelector
Language.LSP.Protocol.Internal.Types.DocumentSymbol
Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities
Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions
Language.LSP.Protocol.Internal.Types.DocumentSymbolParams
Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions
Language.LSP.Protocol.Internal.Types.ErrorCodes
Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace
Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities
Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions
Language.LSP.Protocol.Internal.Types.ExecuteCommandParams
Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions
Language.LSP.Protocol.Internal.Types.ExecutionSummary
Language.LSP.Protocol.Internal.Types.FailureHandlingKind
Language.LSP.Protocol.Internal.Types.FileChangeType
Language.LSP.Protocol.Internal.Types.FileCreate
Language.LSP.Protocol.Internal.Types.FileDelete
Language.LSP.Protocol.Internal.Types.FileEvent
Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities
Language.LSP.Protocol.Internal.Types.FileOperationFilter
Language.LSP.Protocol.Internal.Types.FileOperationOptions
Language.LSP.Protocol.Internal.Types.FileOperationPattern
Language.LSP.Protocol.Internal.Types.FileOperationPatternKind
Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions
Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions
Language.LSP.Protocol.Internal.Types.FileRename
Language.LSP.Protocol.Internal.Types.FileSystemWatcher
Language.LSP.Protocol.Internal.Types.FoldingRange
Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities
Language.LSP.Protocol.Internal.Types.FoldingRangeKind
Language.LSP.Protocol.Internal.Types.FoldingRangeOptions
Language.LSP.Protocol.Internal.Types.FoldingRangeParams
Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions
Language.LSP.Protocol.Internal.Types.FormattingOptions
Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities
Language.LSP.Protocol.Internal.Types.GlobPattern
Language.LSP.Protocol.Internal.Types.Hover
Language.LSP.Protocol.Internal.Types.HoverClientCapabilities
Language.LSP.Protocol.Internal.Types.HoverOptions
Language.LSP.Protocol.Internal.Types.HoverParams
Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions
Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities
Language.LSP.Protocol.Internal.Types.ImplementationOptions
Language.LSP.Protocol.Internal.Types.ImplementationParams
Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions
Language.LSP.Protocol.Internal.Types.InitializedParams
Language.LSP.Protocol.Internal.Types.InitializeError
Language.LSP.Protocol.Internal.Types.InitializeParams
Language.LSP.Protocol.Internal.Types.InitializeResult
Language.LSP.Protocol.Internal.Types.InlayHint
Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities
Language.LSP.Protocol.Internal.Types.InlayHintKind
Language.LSP.Protocol.Internal.Types.InlayHintLabelPart
Language.LSP.Protocol.Internal.Types.InlayHintOptions
Language.LSP.Protocol.Internal.Types.InlayHintParams
Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions
Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities
Language.LSP.Protocol.Internal.Types.InlineValue
Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities
Language.LSP.Protocol.Internal.Types.InlineValueContext
Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression
Language.LSP.Protocol.Internal.Types.InlineValueOptions
Language.LSP.Protocol.Internal.Types.InlineValueParams
Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions
Language.LSP.Protocol.Internal.Types.InlineValueText
Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup
Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities
Language.LSP.Protocol.Internal.Types.InsertReplaceEdit
Language.LSP.Protocol.Internal.Types.InsertTextFormat
Language.LSP.Protocol.Internal.Types.InsertTextMode
Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities
Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions
Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams
Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions
Language.LSP.Protocol.Internal.Types.LinkedEditingRanges
Language.LSP.Protocol.Internal.Types.Location
Language.LSP.Protocol.Internal.Types.LocationLink
Language.LSP.Protocol.Internal.Types.LogMessageParams
Language.LSP.Protocol.Internal.Types.LogTraceParams
Language.LSP.Protocol.Internal.Types.LSPErrorCodes
Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities
Language.LSP.Protocol.Internal.Types.MarkedString
Language.LSP.Protocol.Internal.Types.MarkupContent
Language.LSP.Protocol.Internal.Types.MarkupKind
Language.LSP.Protocol.Internal.Types.MessageActionItem
Language.LSP.Protocol.Internal.Types.MessageType
Language.LSP.Protocol.Internal.Types.Moniker
Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities
Language.LSP.Protocol.Internal.Types.MonikerKind
Language.LSP.Protocol.Internal.Types.MonikerOptions
Language.LSP.Protocol.Internal.Types.MonikerParams
Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions
Language.LSP.Protocol.Internal.Types.NotebookCell
Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange
Language.LSP.Protocol.Internal.Types.NotebookCellKind
Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter
Language.LSP.Protocol.Internal.Types.NotebookDocument
Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent
Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities
Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter
Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier
Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities
Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions
Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions
Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier
Language.LSP.Protocol.Internal.Types.ParameterInformation
Language.LSP.Protocol.Internal.Types.PartialResultParams
Language.LSP.Protocol.Internal.Types.Pattern
Language.LSP.Protocol.Internal.Types.Position
Language.LSP.Protocol.Internal.Types.PositionEncodingKind
Language.LSP.Protocol.Internal.Types.PrepareRenameParams
Language.LSP.Protocol.Internal.Types.PrepareRenameResult
Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior
Language.LSP.Protocol.Internal.Types.PreviousResultId
Language.LSP.Protocol.Internal.Types.ProgressParams
Language.LSP.Protocol.Internal.Types.ProgressToken
Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities
Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams
Language.LSP.Protocol.Internal.Types.Range
Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities
Language.LSP.Protocol.Internal.Types.ReferenceContext
Language.LSP.Protocol.Internal.Types.ReferenceOptions
Language.LSP.Protocol.Internal.Types.ReferenceParams
Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions
Language.LSP.Protocol.Internal.Types.Registration
Language.LSP.Protocol.Internal.Types.RegistrationParams
Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities
Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.RelativePattern
Language.LSP.Protocol.Internal.Types.RenameClientCapabilities
Language.LSP.Protocol.Internal.Types.RenameFile
Language.LSP.Protocol.Internal.Types.RenameFileOptions
Language.LSP.Protocol.Internal.Types.RenameFilesParams
Language.LSP.Protocol.Internal.Types.RenameOptions
Language.LSP.Protocol.Internal.Types.RenameParams
Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions
Language.LSP.Protocol.Internal.Types.ResourceOperation
Language.LSP.Protocol.Internal.Types.ResourceOperationKind
Language.LSP.Protocol.Internal.Types.SaveOptions
Language.LSP.Protocol.Internal.Types.SelectionRange
Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities
Language.LSP.Protocol.Internal.Types.SelectionRangeOptions
Language.LSP.Protocol.Internal.Types.SelectionRangeParams
Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions
Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers
Language.LSP.Protocol.Internal.Types.SemanticTokens
Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities
Language.LSP.Protocol.Internal.Types.SemanticTokensDelta
Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams
Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult
Language.LSP.Protocol.Internal.Types.SemanticTokensEdit
Language.LSP.Protocol.Internal.Types.SemanticTokensLegend
Language.LSP.Protocol.Internal.Types.SemanticTokensOptions
Language.LSP.Protocol.Internal.Types.SemanticTokensParams
Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult
Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams
Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions
Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities
Language.LSP.Protocol.Internal.Types.SemanticTokenTypes
Language.LSP.Protocol.Internal.Types.ServerCapabilities
Language.LSP.Protocol.Internal.Types.SetTraceParams
Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities
Language.LSP.Protocol.Internal.Types.ShowDocumentParams
Language.LSP.Protocol.Internal.Types.ShowDocumentResult
Language.LSP.Protocol.Internal.Types.ShowMessageParams
Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities
Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams
Language.LSP.Protocol.Internal.Types.SignatureHelp
Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities
Language.LSP.Protocol.Internal.Types.SignatureHelpContext
Language.LSP.Protocol.Internal.Types.SignatureHelpOptions
Language.LSP.Protocol.Internal.Types.SignatureHelpParams
Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions
Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind
Language.LSP.Protocol.Internal.Types.SignatureInformation
Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions
Language.LSP.Protocol.Internal.Types.SymbolInformation
Language.LSP.Protocol.Internal.Types.SymbolKind
Language.LSP.Protocol.Internal.Types.SymbolTag
Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions
Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities
Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent
Language.LSP.Protocol.Internal.Types.TextDocumentEdit
Language.LSP.Protocol.Internal.Types.TextDocumentFilter
Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier
Language.LSP.Protocol.Internal.Types.TextDocumentItem
Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams
Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions
Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason
Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions
Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities
Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind
Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions
Language.LSP.Protocol.Internal.Types.TextEdit
Language.LSP.Protocol.Internal.Types.TokenFormat
Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities
Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions
Language.LSP.Protocol.Internal.Types.TypeDefinitionParams
Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions
Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities
Language.LSP.Protocol.Internal.Types.TypeHierarchyItem
Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions
Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams
Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions
Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams
Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams
Language.LSP.Protocol.Internal.Types.UInitializeParams
Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.UniquenessLevel
Language.LSP.Protocol.Internal.Types.Unregistration
Language.LSP.Protocol.Internal.Types.UnregistrationParams
Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier
Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier
Language.LSP.Protocol.Internal.Types.WatchKind
Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams
Language.LSP.Protocol.Internal.Types.WindowClientCapabilities
Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin
Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams
Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams
Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd
Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions
Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams
Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport
Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities
Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams
Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport
Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult
Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.WorkspaceEdit
Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities
Language.LSP.Protocol.Internal.Types.WorkspaceFolder
Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent
Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams
Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities
Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.WorkspaceSymbol
Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities
Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions
Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams
Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions
Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport
Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions
Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions
Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions
Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions
Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions
Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions
Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind
Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions
Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions
Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions
Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions
Language.LSP.Protocol.Internal.Types.ClientInfo
Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions
Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta
Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions
Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions
Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions
Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions
Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions
Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions
Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions
Language.LSP.Protocol.Internal.Types.CodeActionDisabled
Language.LSP.Protocol.Internal.Types.CompletionItemDefaults
Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions
Language.LSP.Protocol.Internal.Types.CompletionListCapabilities
Language.LSP.Protocol.Internal.Types.LanguageKind
Language.LSP.Protocol.Internal.Types.LocationUriOnly
Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage
Language.LSP.Protocol.Internal.Types.NotebookCellLanguage
Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure
Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges
Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges
Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType
Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern
Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme
Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells
Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook
Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior
Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder
Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind
Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta
Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions
Language.LSP.Protocol.Internal.Types.ServerInfo
Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions
Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial
Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument
Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage
Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern
Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme
Language.LSP.Protocol.Internal.Types.TraceValue
Language.LSP.Protocol.Internal.Types.WorkspaceOptions
library metamodel
import: warnings
-- We don't currently re-export this from the main
-- library, but it's here if people want it
visibility: public
hs-source-dirs: metamodel
default-language: GHC2021
default-extensions:
StrictData
exposed-modules:
Language.LSP.MetaModel
Language.LSP.MetaModel.Types
build-depends:
, aeson >=2
, base >=4.11 && <5
, file-embed ^>=0.0.15
, lens >=5.1 && <5.4
, template-haskell >=2.7 && <2.23
, text >=1 && <2.2
library lsp-types-quickcheck
import: warnings
visibility: public
hs-source-dirs: quickcheck generated
default-language: GHC2021
default-extensions:
StrictData
DerivingVia
DerivingStrategies
exposed-modules:
Language.LSP.Protocol.QuickCheck
other-modules:
Language.LSP.Protocol.QuickCheck.Common
Language.LSP.Protocol.QuickCheck.Message
Language.LSP.Protocol.QuickCheck.Types
build-depends:
, base >=4.11 && <5
, lsp-types
, row-types
, QuickCheck
, quickcheck-instances
, generic-arbitrary
, template-haskell
executable generator
hs-source-dirs: generator
default-language: GHC2021
default-extensions:
StrictData
main-is: Main.hs
other-modules: CodeGen
build-depends:
, base
, containers
, directory
, filepath
, lsp-types:metamodel
, mtl
, prettyprinter
, regex
, text
, witherable
test-suite lsp-types-test
import: warnings
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: GHC2021
main-is: Main.hs
other-modules:
CapabilitiesSpec
JsonSpec
LocationSpec
MethodSpec
SemanticTokensSpec
ServerCapabilitiesSpec
Spec
TypesSpec
URIFilePathSpec
WorkspaceEditSpec
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends:
, aeson
, base
, filepath
, hspec
, hspec-golden
, lens
, lsp-types
, lsp-types-quickcheck
, network-uri
, prettyprinter
, QuickCheck
, quickcheck-instances
, text
build-tool-depends: hspec-discover:hspec-discover