diagnostics

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecisiveSummary

func DecisiveSummary(output string) string

DecisiveSummary extracts the smallest useful failure signal from raw output.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service normalizes parser, LSP, and lint diagnostics.

func NewService

func NewService(root string) *Service

func (*Service) Immediate

func (s *Service) Immediate(scope string) []protocol.Diagnostic

Immediate runs the fast, synchronous checks that fit within an edit's latency budget. Today that is a real Go syntax parse — a genuine "parser OK / parser ERROR at line N" signal, not a stub. Full type checking and linting are handled by the async job runner (jobs package) since they're too slow to run synchronously on every edit.

Jump to

Keyboard shortcuts

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