From 6c8eb6876fe87553770de114ebd34649a0c6ec10 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 16 Aug 2025 15:35:02 +0300 Subject: lsp: split monolithic server.go into modules; add configurable max tokens and context strategies (minimal|window|file-on-new-func|always-full); provide flags/env fallbacks; add unit tests for helpers and context; update README; remove obsolete files --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index e7c6d2b..5130ce2 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -20,6 +20,7 @@ ## Coding Style & Naming Conventions +- If possible, construct individual methods so that they can be unit tested. But only if it doesn't add too much boilerplate to the code base. - There should be no source code file larger than 1000 lines. If so, split it up into multiple. - There should be no function larger then 50 lines. If so, refactor or split up into multiple smaller functions. - Markdown: ATX `#` headings, sentence‑case titles, wrap lines ~100 chars, -- cgit v1.2.3