Editor integrations
Editor setup
The standalone server uses stdio and implements ordinary LSP lifecycle and document-symbol requests. Configure it as a language server in an LSP-capable editor to inspect indexed function/method symbols.
Neovim
A native Lua client is included at editors/neovim and requires Neovim 0.10 or later. Add that directory to your runtime path (for example, vim.opt.rtp:append("/path/to/stubby/editors/neovim")), then run require("stubforge").setup(); it starts stubforge-lsp for Rust, Python, JavaScript/TypeScript, and Go files. Use :StubForgeImplement with the cursor on a function name to request an implementation. The plugin previews a unified diff and asks before applying the versioned edit, and refuses to apply if the buffer changed during generation or review. Configure a non-PATH executable with require("stubforge").setup({cmd = {"/absolute/path/to/stubforge-lsp"}}).
VS Code
The extension source is in editors/vscode. Install/build stubforge-lsp, add it to PATH (or configure stubforge.serverPath), then package the extension with npx @vscode/vsce package. It supports document symbols and the StubForge: Implement Symbol at Cursor command, which opens a diff and applies the versioned edit only after confirmation. Supported languages are Rust, Python, JavaScript/TypeScript, and Go.
Zed
An opt-in Zed language-server extension is included at editors/zed. Install stubforge-lsp on PATH, install the directory as a dev extension, and add "stubforge" to the language's language_servers setting while preserving other servers with "...". It provides document symbols and a lazy implementation quick-fix for marked unimplemented functions. The server generates an edit when Zed resolves the action; applying it does not have a separate diff-confirmation step.
JetBrains
Use the LSP4IJ plugin to register stubforge-lsp as a user-defined stdio language server, then associate it with the desired file types. Setup details are in editors/jetbrains/README.md. It provides document symbols and a lazy implementation quick-fix; action resolution generates the edit, and applying it has no separate diff-confirmation step.