Documentation
¶
Index ¶
- type Reader
- type Server
- func (s *Server) Log(msg ...any)
- func (s *Server) NpmInstall(cwd string, args []string) ([]byte, error)
- func (s *Server) RefreshDiagnostics(ctx context.Context) error
- func (s *Server) Run() error
- func (s *Server) SetCompilerOptionsForInferredProjects(ctx context.Context, options *core.CompilerOptions)
- func (s *Server) UnwatchFiles(ctx context.Context, id project.WatcherID) error
- func (s *Server) WatchFiles(ctx context.Context, id project.WatcherID, ...) error
- type ServerOptions
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(opts *ServerOptions) *Server
func (*Server) NpmInstall ¶
NpmInstall implements ata.NpmExecutor
func (*Server) RefreshDiagnostics ¶
RefreshDiagnostics implements project.Client.
func (*Server) SetCompilerOptionsForInferredProjects ¶
func (s *Server) SetCompilerOptionsForInferredProjects(ctx context.Context, options *core.CompilerOptions)
!!! temporary; remove when we have `handleDidChangeConfiguration`/implicit project config support
func (*Server) UnwatchFiles ¶
UnwatchFiles implements project.Client.
func (*Server) WatchFiles ¶
func (s *Server) WatchFiles(ctx context.Context, id project.WatcherID, watchers []*lsproto.FileSystemWatcher) error
WatchFiles implements project.Client.
type ServerOptions ¶
Click to show internal directories.
Click to hide internal directories.