diagnostics

package
v0.1.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	StartupInfo(ctx context.Context) (ulspplugin.PluginInfo, error)
	// ResetBase resets the base for a given document.
	ApplyDiagnostics(ctx context.Context, workspaceRoot string, URI uri.URI, diagnostic []*protocol.Diagnostic) error
}

Controller defines the interface for a document sync controller.

func New

func New(p Params) Controller

New creates a new controller for document sync.

type Params

type Params struct {
	fx.In

	Sessions   session.Repository
	IdeGateway ideclient.Gateway
	Logger     *zap.SugaredLogger
	Stats      tally.Scope
	Config     config.Provider
}

Params are inbound parameters to initialize a new plugin.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL