Documentation ¶
Index ¶
- type Extra
- type GetFileViewRequest
- type GetFileViewResponce
- type Handler
- type Server
- func (s Server) Exit(_ *glsp.Context) error
- func (s *Server) Initialize(glspCtx *glsp.Context, params *protocol.InitializeParams) (any, error)
- func (s *Server) Initialized(glspCtx *glsp.Context, params *protocol.InitializedParams) error
- func (s Server) SetTrace(_ *glsp.Context, params *protocol.SetTraceParams) error
- func (s *Server) Shutdown(context *glsp.Context) error
- func (s *Server) TextDocumentCompletion(glspCtx *glsp.Context, params *protocol.CompletionParams) (any, error)
- func (s *Server) TextDocumentDidChange(glspCtx *glsp.Context, params *protocol.DidChangeTextDocumentParams) error
- func (s *Server) TextDocumentDidOpen(glspCtx *glsp.Context, params *protocol.DidOpenTextDocumentParams) error
- func (s *Server) TextDocumentDidSave(glspCtx *glsp.Context, params *protocol.DidSaveTextDocumentParams) error
- type URI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetFileViewRequest ¶
type GetFileViewResponce ¶
type Handler ¶
type Handler struct { *protocol.Handler GetFileView func(glspCtx *glsp.Context, params GetFileViewRequest) (GetFileViewResponce, error) }
func BuildHandler ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Initialize ¶
func (*Server) Initialized ¶
func (*Server) TextDocumentCompletion ¶ added in v0.26.0
func (*Server) TextDocumentDidChange ¶
func (*Server) TextDocumentDidOpen ¶ added in v0.26.0
func (*Server) TextDocumentDidSave ¶ added in v0.26.0
Click to show internal directories.
Click to hide internal directories.