Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkspaceWatcher ¶
type WorkspaceWatcher struct {
// contains filtered or unexported fields
}
WorkspaceWatcher manages LSP file watching
func NewWorkspaceWatcher ¶
func NewWorkspaceWatcher(client *lsp.Client) *WorkspaceWatcher
NewWorkspaceWatcher creates a new workspace watcher
func (*WorkspaceWatcher) AddRegistrations ¶
func (w *WorkspaceWatcher) AddRegistrations(ctx context.Context, id string, watchers []protocol.FileSystemWatcher)
AddRegistrations adds file watchers to track
func (*WorkspaceWatcher) WatchWorkspace ¶
func (w *WorkspaceWatcher) WatchWorkspace(ctx context.Context, workspacePath string)
WatchWorkspace sets up file watching for a workspace
Click to show internal directories.
Click to hide internal directories.