type Application …
type EditFlags …
func (app *Application) verbose() bool { … }
func New() *Application { … }
func (app *Application) Name() string { … }
func (app *Application) Usage() string { … }
func (app *Application) ShortHelp() string { … }
func (app *Application) DetailedHelp(f *flag.FlagSet) { … }
func printFlagDefaults(s *flag.FlagSet) { … }
func isZeroValue(f *flag.Flag, value string) bool { … }
func (app *Application) Run(ctx context.Context, args ...string) error { … }
func (app *Application) Commands() []tool.Application { … }
func (app *Application) mainCommands() []tool.Application { … }
func (app *Application) internalCommands() []tool.Application { … }
func (app *Application) featureCommands() []tool.Application { … }
var internalMu …
var internalConnections …
func (app *Application) connect(ctx context.Context) (*connection, error) { … }
func (c *connection) initialize(ctx context.Context, options func(*settings.Options)) error { … }
type connection …
type cmdClient …
type cmdFile …
func newClient(app *Application) *cmdClient { … }
func newConnection(server protocol.Server, client *cmdClient) *connection { … }
func (c *cmdClient) CodeLensRefresh(context.Context) error { … }
func (c *cmdClient) FoldingRangeRefresh(context.Context) error { … }
func (c *cmdClient) LogTrace(context.Context, *protocol.LogTraceParams) error { … }
func (c *cmdClient) ShowMessage(ctx context.Context, p *protocol.ShowMessageParams) error { … }
func (c *cmdClient) ShowMessageRequest(ctx context.Context, p *protocol.ShowMessageRequestParams) (*protocol.MessageActionItem, error) { … }
func (c *cmdClient) LogMessage(ctx context.Context, p *protocol.LogMessageParams) error { … }
func (c *cmdClient) Event(ctx context.Context, t *interface{ … }
func (c *cmdClient) RegisterCapability(ctx context.Context, p *protocol.RegistrationParams) error { … }
func (c *cmdClient) UnregisterCapability(ctx context.Context, p *protocol.UnregistrationParams) error { … }
func (c *cmdClient) WorkspaceFolders(ctx context.Context) ([]protocol.WorkspaceFolder, error) { … }
func (c *cmdClient) Configuration(ctx context.Context, p *protocol.ParamConfiguration) ([]interface{ … }
func (c *cmdClient) ApplyEdit(ctx context.Context, p *protocol.ApplyWorkspaceEditParams) (*protocol.ApplyWorkspaceEditResult, error) { … }
func (cli *cmdClient) applyWorkspaceEdit(wsedit *protocol.WorkspaceEdit) error { … }
func applyTextEdits(mapper *protocol.Mapper, edits []protocol.TextEdit, flags *EditFlags) error { … }
func updateFile(filename string, old, new []byte, edits []diff.Edit, flags *EditFlags) error { … }
func (c *cmdClient) PublishDiagnostics(ctx context.Context, p *protocol.PublishDiagnosticsParams) error { … }
func (c *cmdClient) Progress(_ context.Context, params *protocol.ProgressParams) error { … }
func (c *cmdClient) ShowDocument(ctx context.Context, params *protocol.ShowDocumentParams) (*protocol.ShowDocumentResult, error) { … }
func (c *cmdClient) WorkDoneProgressCreate(context.Context, *protocol.WorkDoneProgressCreateParams) error { … }
func (c *cmdClient) DiagnosticRefresh(context.Context) error { … }
func (c *cmdClient) InlayHintRefresh(context.Context) error { … }
func (c *cmdClient) SemanticTokensRefresh(context.Context) error { … }
func (c *cmdClient) InlineValueRefresh(context.Context) error { … }
func (c *cmdClient) getFile(uri protocol.DocumentURI) *cmdFile { … }
func (c *cmdClient) openFile(uri protocol.DocumentURI) *cmdFile { … }
func (c *connection) openFile(ctx context.Context, uri protocol.DocumentURI) (*cmdFile, error) { … }
func (c *connection) semanticTokens(ctx context.Context, p *protocol.SemanticTokensRangeParams) (*protocol.SemanticTokens, error) { … }
func (c *connection) diagnoseFiles(ctx context.Context, files []protocol.DocumentURI) error { … }
func (c *connection) terminate(ctx context.Context) { … }
func (c *cmdClient) Close() error { … }
func (f *cmdFile) locationSpan(loc protocol.Location) (span, error) { … }
func (f *cmdFile) rangeSpan(r protocol.Range) (span, error) { … }
func (f *cmdFile) offsetSpan(start, end int) (span, error) { … }
func offsetPoint(m *protocol.Mapper, offset int) (point, error) { … }
func (f *cmdFile) spanLocation(s span) (protocol.Location, error) { … }
func (f *cmdFile) spanRange(s span) (protocol.Range, error) { … }
func pointPosition(m *protocol.Mapper, p point) (protocol.Position, error) { … }
type fix …
func (*fix) Name() string { … }
func (cmd *fix) Parent() string { … }
func (*fix) Usage() string { … }
func (*fix) ShortHelp() string { … }
func (*fix) DetailedHelp(flags *flag.FlagSet) { … }
func (*fix) Run(ctx context.Context, args ...string) error { … }