LSP server for LLM-powered code completion
Top 44.9% on sourcepulse
This project provides an LLM-powered Language Server Protocol (LSP) server designed to enhance code completion and development workflows. It targets developers seeking intelligent, context-aware code suggestions within their IDEs, abstracting the complexities of LLM interaction for IDE extension developers.
How It Works
llm-ls acts as a central hub for LLM-driven code intelligence. It leverages the current file's content to construct context-aware prompts, supporting "fill-in-the-middle" capabilities and managing tokenization to respect model context windows. The server parses code Abstract Syntax Trees (ASTs) to intelligently determine the type of completion needed (single-line, multi-line, or none).
Quick Start & Requirements
pip install llm-ls
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
This project is explicitly marked as a work in progress, with the potential for broken functionality. Support for Jupyter integration is currently missing.
1 month ago
1 week