Deprecated

In favour of

haskell-lsp-types

Haskell library for the Microsoft Language Server Protocol, data types

https://github.com/alanz/haskell-lsp

Version on this page:0.13.0.0@rev:2
LTS Haskell 19.33:0.24.0.0@rev:1
Stackage Nightly 2022-03-17:0.24.0.0@rev:1
Latest on Hackage:0.24.0.0@rev:1

See all snapshots haskell-lsp-types appears in

MIT licensed by Alan Zimmerman
Maintained by [email protected]
This version can be pinned in stack with:haskell-lsp-types-0.13.0.0@sha256:3422db863f45c215a532610286968e2e6496bee282177b52fef7e4d52745d00b,2960

Module documentation for 0.13.0.0

  • Language
    • Language.Haskell
      • Language.Haskell.LSP
        • Language.Haskell.LSP.Types
          • Language.Haskell.LSP.Types.Capabilities
          • Language.Haskell.LSP.Types.Constants
          • Language.Haskell.LSP.Types.Lens
          • Language.Haskell.LSP.Types.MessageFuncs
          • Language.Haskell.LSP.Types.Utils

Hackage

haskell-lsp-types

Haskell library for the data types for Microsoft Language Server Protocol

Useful links

Other resource

See #haskell-ide-engine on IRC freenode

Changes

Revision history for haskell-lsp-types

0.11.0.0 – 2019-04-28

  • Fix window/progress/cancel notification being a from server notification when it should be a from client notification
  • Fix typo in FoldingRange request name

0.10.0.0 – 2019-04-22

  • Add types for window/progress notifications.

0.8.3.0

  • Add MarkupContent to HoverResponse, and (some) json roundtrip tests.

0.8.2.0 – 2019-04-11

  • Add applyTextEdit and editTextEdit helpers

0.8.0.1 – 2018-10-27

  • Support GHC 8.6.1 by loosening constraints. Via @domenkozar

0.8.0.0 – 2018-09-08

  • Update Hover to be a nullable according to spec
  • Move Lenses into a separate module, Language.Haskell.LSP.Types.Lens

0.7.0.0 – 2018-08-14

  • Update CompletionItem
  • Add commitCharacters field
  • Add MarkupContent option for documentation
  • Add preselect field
  • Add CompletionContext
  • Add new server capabilities
  • Add workspace folder support
  • Add document color and color presentation
  • Add folding range support
  • Add goto type support
  • s/TH/Types/g
  • Move all types into haskell-lsp-types
  • Hide Language.Haskell.LSP.TH.DataTypesJSON - Use Language.Haskell.LSP.Types instead
  • Add lenses for Language.Haskell.LSP.Types.Capabilities

0.6.0.0 – 2018-08-06

  • Add new DocumentSymbol type and hierarchal support
  • Rename CommandOrCodeAction to CAResult

0.5.0.0 – 2018-08-03

  • Update Command.arguments to match specification
  • Update ClientCapabilities to v3.10
  • Add MarkupContent
  • Add new CompletionKinds
  • Add new SymbolKinds
  • Add preset version capabilities

0.4.0.0 – 2018-07-10

  • CodeAction support as per v3.8 of the specification, by @Bubba
  • Update VersionedTextDocumentIdentifier to match specification, by @Bubba.

0.3.0.0

  • Handle TextDocumentSync fallbacks with new TDS type.

0.2.3.0

  • GHC 8.4.3 support
  • Introduce additional error codes as per the LSP spec. By @Bubba

0.2.2.0 – 2018-05-04

  • Make Diagnostic relatedInformation optional, as per the LSP Spec. By @Bubba.

0.2.1.0 – 2018-05-02

  • Broken out from the haskell-lsp package, to simplify development by not having to run massive TH processes when working on the framework.