unison-cli-0.0.0
Safe HaskellNone
LanguageHaskell2010

Unison.LSP.OpenOnShare

Synopsis
  • openOnShareHandler :: forall {f1 :: MessageDirection} {f2 :: MessageDirection}. TRequestMessage ('Method_CustomMethod "unison/openOnShare" :: Method f1 'Request) -> (Either (TResponseError ('Method_CustomMethod "unison/openOnShare" :: Method f2 'Request)) Value -> Lsp ()) -> Lsp ()

Documentation

openOnShareHandler :: forall {f1 :: MessageDirection} {f2 :: MessageDirection}. TRequestMessage ('Method_CustomMethod "unison/openOnShare" :: Method f1 'Request) -> (Either (TResponseError ('Method_CustomMethod "unison/openOnShare" :: Method f2 'Request)) Value -> Lsp ()) -> Lsp () Source #

Handler for the 'unison/openOnShare' custom LSP request. This resolves the symbol at the given position to its FQN and makes an HTTP POST to the local Share service.