Skip to main content

lsp

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.

Quellinformationen

Repository
code-yeongyu/lazycodex
Letzte Quellaktivität
20. Juni 2026 um 03:43
Erkannte Sprache von SKILL.md
Englisch
Sterne
3.697
Forks
232

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
lsp
description
Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current workspace.
# Codex LSP Call `lsp` MCP tools through the tool interface; `lsp.*`/`mcp__lsp__*` are tool-call names, not shell commands. ## Tools - `lsp.status`: list configured, installed, missing, disabled, and active language servers. - `lsp.diagnostics`: check one file or directory for LSP diagnostics. Prefer `severity: "error"` after edits. - `lsp.goto_definition`: locate a symbol definition from file, line, and character. - `lsp.find_references`: find usages of a symbol across the workspace. - `lsp.symbols`: inspect document symbols or search workspace symbols. - `lsp.prepare_rename`: check whether a rename is valid at a position. - `lsp.rename`: apply a language-server workspace edit for a rename. ## Config Project config lives at `.codex/lsp-client.json`; user config lives at `~/.codex/lsp-client.json`. ```json { "lsp": { "typescript": { "command": ["typescript-language-server", "--stdio"], "extensions": [".ts", ".tsx", ".js", ".jsx"] } } } ``` Use `lsp.status` first when diagnostics report a missing language server.
Auf GitHub ansehen