Explorar el Código

Add installation instructions to LSP plugin READMEs

Each README now includes:
- Supported file extensions
- Installation commands for different platforms/package managers
- Links to project websites and documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Daisy Hollman hace 8 meses
padre
commit
1d99e18048

+ 31 - 3
plugins/clangd-lsp/README.md

@@ -1,8 +1,36 @@
 # clangd-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+C/C++ language server (clangd) for Claude Code, providing code intelligence, diagnostics, and formatting.
 
-## Requirements
+## Supported Extensions
+`.c`, `.h`, `.cpp`, `.cc`, `.cxx`, `.hpp`, `.hxx`, `.C`, `.H`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+### Via Homebrew (macOS)
+```bash
+brew install llvm
+# Add to PATH: export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
+```
+
+### Via package manager (Linux)
+```bash
+# Ubuntu/Debian
+sudo apt install clangd
+
+# Fedora
+sudo dnf install clang-tools-extra
+
+# Arch Linux
+sudo pacman -S clang
+```
+
+### Windows
+Download from [LLVM releases](https://github.com/llvm/llvm-project/releases) or install via:
+```bash
+winget install LLVM.LLVM
+```
+
+## More Information
+- [clangd Website](https://clangd.llvm.org/)
+- [Getting Started Guide](https://clangd.llvm.org/installation)

+ 20 - 3
plugins/csharp-lsp/README.md

@@ -1,8 +1,25 @@
 # csharp-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+C# language server for Claude Code, providing code intelligence and diagnostics.
 
-## Requirements
+## Supported Extensions
+`.cs`
+
+## Installation
+
+### Via .NET tool (recommended)
+```bash
+dotnet tool install --global csharp-ls
+```
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+### Via Homebrew (macOS)
+```bash
+brew install csharp-ls
+```
+
+## Requirements
+- .NET SDK 6.0 or later
 
+## More Information
+- [csharp-ls GitHub](https://github.com/razzmatazz/csharp-language-server)
+- [.NET SDK Download](https://dotnet.microsoft.com/download)

+ 15 - 3
plugins/gopls-lsp/README.md

@@ -1,8 +1,20 @@
 # gopls-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+Go language server for Claude Code, providing code intelligence, refactoring, and analysis.
 
-## Requirements
+## Supported Extensions
+`.go`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+Install gopls using the Go toolchain:
+
+```bash
+go install golang.org/x/tools/gopls@latest
+```
+
+Make sure `$GOPATH/bin` (or `$HOME/go/bin`) is in your PATH.
+
+## More Information
+- [gopls Documentation](https://pkg.go.dev/golang.org/x/tools/gopls)
+- [GitHub Repository](https://github.com/golang/tools/tree/master/gopls)

+ 28 - 3
plugins/jdtls-lsp/README.md

@@ -1,8 +1,33 @@
 # jdtls-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+Java language server (Eclipse JDT.LS) for Claude Code, providing code intelligence and refactoring.
 
-## Requirements
+## Supported Extensions
+`.java`
+
+## Installation
+
+### Via Homebrew (macOS)
+```bash
+brew install jdtls
+```
+
+### Via package manager (Linux)
+```bash
+# Arch Linux (AUR)
+yay -S jdtls
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+# Other distros: manual installation required
+```
+
+### Manual Installation
+1. Download from [Eclipse JDT.LS releases](https://download.eclipse.org/jdtls/snapshots/)
+2. Extract to a directory (e.g., `~/.local/share/jdtls`)
+3. Create a wrapper script named `jdtls` in your PATH
+
+## Requirements
+- Java 17 or later (JDK, not just JRE)
 
+## More Information
+- [Eclipse JDT.LS GitHub](https://github.com/eclipse-jdtls/eclipse.jdt.ls)
+- [VSCode Java Extension](https://github.com/redhat-developer/vscode-java) (uses JDT.LS)

+ 27 - 3
plugins/lua-lsp/README.md

@@ -1,8 +1,32 @@
 # lua-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+Lua language server for Claude Code, providing code intelligence and diagnostics.
 
-## Requirements
+## Supported Extensions
+`.lua`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+### Via Homebrew (macOS)
+```bash
+brew install lua-language-server
+```
+
+### Via package manager (Linux)
+```bash
+# Ubuntu/Debian (via snap)
+sudo snap install lua-language-server --classic
+
+# Arch Linux
+sudo pacman -S lua-language-server
+
+# Fedora
+sudo dnf install lua-language-server
+```
+
+### Manual Installation
+Download pre-built binaries from the [releases page](https://github.com/LuaLS/lua-language-server/releases).
+
+## More Information
+- [Lua Language Server GitHub](https://github.com/LuaLS/lua-language-server)
+- [Documentation](https://luals.github.io/)

+ 19 - 3
plugins/php-lsp/README.md

@@ -1,8 +1,24 @@
 # php-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+PHP language server (Intelephense) for Claude Code, providing code intelligence and diagnostics.
 
-## Requirements
+## Supported Extensions
+`.php`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+Install Intelephense globally via npm:
+
+```bash
+npm install -g intelephense
+```
+
+Or with yarn:
+
+```bash
+yarn global add intelephense
+```
+
+## More Information
+- [Intelephense Website](https://intelephense.com/)
+- [Intelephense on npm](https://www.npmjs.com/package/intelephense)

+ 26 - 3
plugins/pyright-lsp/README.md

@@ -1,8 +1,31 @@
 # pyright-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+Python language server (Pyright) for Claude Code, providing static type checking and code intelligence.
 
-## Requirements
+## Supported Extensions
+`.py`, `.pyi`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+Install Pyright globally via npm:
+
+```bash
+npm install -g pyright
+```
+
+Or with pip:
+
+```bash
+pip install pyright
+```
+
+Or with pipx (recommended for CLI tools):
+
+```bash
+pipx install pyright
+```
+
+## More Information
+- [Pyright on npm](https://www.npmjs.com/package/pyright)
+- [Pyright on PyPI](https://pypi.org/project/pyright/)
+- [GitHub Repository](https://github.com/microsoft/pyright)

+ 29 - 3
plugins/rust-analyzer-lsp/README.md

@@ -1,8 +1,34 @@
 # rust-analyzer-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+Rust language server for Claude Code, providing code intelligence and analysis.
 
-## Requirements
+## Supported Extensions
+`.rs`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+### Via rustup (recommended)
+```bash
+rustup component add rust-analyzer
+```
+
+### Via Homebrew (macOS)
+```bash
+brew install rust-analyzer
+```
+
+### Via package manager (Linux)
+```bash
+# Ubuntu/Debian
+sudo apt install rust-analyzer
+
+# Arch Linux
+sudo pacman -S rust-analyzer
+```
+
+### Manual download
+Download pre-built binaries from the [releases page](https://github.com/rust-lang/rust-analyzer/releases).
+
+## More Information
+- [rust-analyzer Website](https://rust-analyzer.github.io/)
+- [GitHub Repository](https://github.com/rust-lang/rust-analyzer)

+ 20 - 3
plugins/swift-lsp/README.md

@@ -1,8 +1,25 @@
 # swift-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+Swift language server (SourceKit-LSP) for Claude Code, providing code intelligence for Swift projects.
 
-## Requirements
+## Supported Extensions
+`.swift`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+SourceKit-LSP is included with the Swift toolchain.
+
+### macOS
+Install Xcode from the App Store, or install Swift via:
+```bash
+brew install swift
+```
+
+### Linux
+Download and install Swift from [swift.org](https://www.swift.org/download/).
+
+After installation, `sourcekit-lsp` should be available in your PATH.
+
+## More Information
+- [SourceKit-LSP GitHub](https://github.com/apple/sourcekit-lsp)
+- [Swift.org](https://www.swift.org/)

+ 19 - 3
plugins/typescript-lsp/README.md

@@ -1,8 +1,24 @@
 # typescript-lsp
 
-This plugin provides LSP (Language Server Protocol) integration for Claude Code.
+TypeScript/JavaScript language server for Claude Code, providing code intelligence features like go-to-definition, find references, and error checking.
 
-## Requirements
+## Supported Extensions
+`.ts`, `.tsx`, `.js`, `.jsx`, `.mts`, `.cts`, `.mjs`, `.cjs`
 
-The corresponding language server must be installed on your system. The plugin will be recommended when you edit files with the supported extensions and have the language server binary available.
+## Installation
 
+Install the TypeScript language server globally via npm:
+
+```bash
+npm install -g typescript-language-server typescript
+```
+
+Or with yarn:
+
+```bash
+yarn global add typescript-language-server typescript
+```
+
+## More Information
+- [typescript-language-server on npm](https://www.npmjs.com/package/typescript-language-server)
+- [GitHub Repository](https://github.com/typescript-language-server/typescript-language-server)