diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-16 04:19:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-16 04:19:43 +0200 |
| commit | c1f1f77d5dff951be1425a03fff965e0a1065881 (patch) | |
| tree | c649d2af840066d32c35cf602be8487a0888e88f /internal/lsp | |
| parent | 2b3615352c9e31cba00ba8eb98c610fc66f6bc3c (diff) | |
Replace Summary: prefixes with standard Go package doc comments
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/lsp')
| -rw-r--r-- | internal/lsp/context.go | 2 | ||||
| -rw-r--r-- | internal/lsp/context_test.go | 2 | ||||
| -rw-r--r-- | internal/lsp/document.go | 2 | ||||
| -rw-r--r-- | internal/lsp/document_test.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_codeaction.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_completion.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_document.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_execute.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_ignore.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_init.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_test.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_utils.go | 2 | ||||
| -rw-r--r-- | internal/lsp/server.go | 2 | ||||
| -rw-r--r-- | internal/lsp/transport.go | 2 | ||||
| -rw-r--r-- | internal/lsp/types.go | 2 |
16 files changed, 16 insertions, 16 deletions
diff --git a/internal/lsp/context.go b/internal/lsp/context.go index 4395abf..52ba3a5 100644 --- a/internal/lsp/context.go +++ b/internal/lsp/context.go @@ -1,4 +1,4 @@ -// Summary: Builds additional context snippets based on configured mode and truncates text by token heuristic. +// Builds additional context snippets based on configured mode and truncates text by token heuristic. package lsp import ( diff --git a/internal/lsp/context_test.go b/internal/lsp/context_test.go index fd555cf..08a2969 100644 --- a/internal/lsp/context_test.go +++ b/internal/lsp/context_test.go @@ -1,4 +1,4 @@ -// Summary: Tests for context-building logic (window, full-file) and truncation behavior. +// Tests for context-building logic (window, full-file) and truncation behavior. package lsp import ( diff --git a/internal/lsp/document.go b/internal/lsp/document.go index 1ef1a5b..f7d0bbe 100644 --- a/internal/lsp/document.go +++ b/internal/lsp/document.go @@ -1,4 +1,4 @@ -// Summary: In-memory document model for the LSP; tracks text, lines, and applies edits. +// In-memory document model for the LSP; tracks text, lines, and applies edits. package lsp import ( diff --git a/internal/lsp/document_test.go b/internal/lsp/document_test.go index c805d22..0d19f29 100644 --- a/internal/lsp/document_test.go +++ b/internal/lsp/document_test.go @@ -1,4 +1,4 @@ -// Summary: Tests for LSP document model (line management, edits, and transformations). +// Tests for LSP document model (line management, edits, and transformations). package lsp import ( diff --git a/internal/lsp/handlers.go b/internal/lsp/handlers.go index fe52512..ebdefc1 100644 --- a/internal/lsp/handlers.go +++ b/internal/lsp/handlers.go @@ -1,4 +1,4 @@ -// Summary: LSP JSON-RPC handlers; implements core methods and integrates with the LLM client when enabled. +// LSP JSON-RPC handlers; implements core methods and integrates with the LLM client when enabled. package lsp import ( diff --git a/internal/lsp/handlers_codeaction.go b/internal/lsp/handlers_codeaction.go index d393bd4..8b16fcd 100644 --- a/internal/lsp/handlers_codeaction.go +++ b/internal/lsp/handlers_codeaction.go @@ -1,4 +1,4 @@ -// Summary: Code Action handlers and helpers split from handlers.go for clarity. +// Code Action handlers and helpers split from handlers.go for clarity. package lsp import ( diff --git a/internal/lsp/handlers_completion.go b/internal/lsp/handlers_completion.go index b5fd03f..aca830b 100644 --- a/internal/lsp/handlers_completion.go +++ b/internal/lsp/handlers_completion.go @@ -1,4 +1,4 @@ -// Summary: Completion handlers split from handlers.go to reduce file size and isolate feature logic. +// Completion handlers split from handlers.go to reduce file size and isolate feature logic. package lsp import ( diff --git a/internal/lsp/handlers_document.go b/internal/lsp/handlers_document.go index 0e6d8e1..a411f4e 100644 --- a/internal/lsp/handlers_document.go +++ b/internal/lsp/handlers_document.go @@ -1,4 +1,4 @@ -// Summary: Document open/change/close and in-editor chat handlers split out of handlers.go. +// Document open/change/close and in-editor chat handlers split out of handlers.go. package lsp import ( diff --git a/internal/lsp/handlers_execute.go b/internal/lsp/handlers_execute.go index d0bc8fc..f2f2fac 100644 --- a/internal/lsp/handlers_execute.go +++ b/internal/lsp/handlers_execute.go @@ -1,4 +1,4 @@ -// Summary: ExecuteCommand handler to support post-edit navigation (jump to generated test). +// ExecuteCommand handler to support post-edit navigation (jump to generated test). package lsp import ( diff --git a/internal/lsp/handlers_ignore.go b/internal/lsp/handlers_ignore.go index bbd2dfa..716ea49 100644 --- a/internal/lsp/handlers_ignore.go +++ b/internal/lsp/handlers_ignore.go @@ -1,4 +1,4 @@ -// Summary: Helpers for gitignore-aware file filtering in LSP handlers. +// Helpers for gitignore-aware file filtering in LSP handlers. package lsp import ( diff --git a/internal/lsp/handlers_init.go b/internal/lsp/handlers_init.go index 24789f7..d343338 100644 --- a/internal/lsp/handlers_init.go +++ b/internal/lsp/handlers_init.go @@ -1,4 +1,4 @@ -// Summary: Initialization and lifecycle handlers split from handlers.go. +// Initialization and lifecycle handlers split from handlers.go. package lsp import ( diff --git a/internal/lsp/handlers_test.go b/internal/lsp/handlers_test.go index b2b47c0..c127bd9 100644 --- a/internal/lsp/handlers_test.go +++ b/internal/lsp/handlers_test.go @@ -1,4 +1,4 @@ -// Summary: Tests for instruction extraction helpers in handlers.go +// Tests for instruction extraction helpers in handlers.go. package lsp import "testing" diff --git a/internal/lsp/handlers_utils.go b/internal/lsp/handlers_utils.go index b36297c..7fb17d2 100644 --- a/internal/lsp/handlers_utils.go +++ b/internal/lsp/handlers_utils.go @@ -1,4 +1,4 @@ -// Summary: Generic LSP helpers shared across handlers (LLM opts, prompts, text utils, counters). +// Generic LSP helpers shared across handlers (LLM opts, prompts, text utils, counters). package lsp import ( diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 3af7e1d..6442342 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -1,4 +1,4 @@ -// Summary: Minimal LSP server over stdio; manages documents, dispatches requests, and tracks stats. +// Package lsp provides a minimal LSP server over stdio; manages documents, dispatches requests, and tracks stats. package lsp import ( diff --git a/internal/lsp/transport.go b/internal/lsp/transport.go index 60e5379..bca2c37 100644 --- a/internal/lsp/transport.go +++ b/internal/lsp/transport.go @@ -1,4 +1,4 @@ -// Summary: LSP transport utilities to read and write JSON-RPC messages with Content-Length framing. +// LSP transport utilities to read and write JSON-RPC messages with Content-Length framing. package lsp import ( diff --git a/internal/lsp/types.go b/internal/lsp/types.go index 68101f6..ae1f644 100644 --- a/internal/lsp/types.go +++ b/internal/lsp/types.go @@ -1,4 +1,4 @@ -// Summary: LSP protocol types used by the server (requests, responses, params, capabilities). +// LSP protocol types used by the server (requests, responses, params, capabilities). package lsp import "encoding/json" |
