DeepContext LSP is a Language Server Protocol (LSP) server designed to integrate with Neovim, powered by Ollama's artificial intelligence. The goal is to enhance the development experience by providing advanced features like intelligent autocompletion, refactoring, code optimization, documentation generation, real-time analysis, and flexible processing modes (QUICK and DEEP). DeepContext LSP is optimized for local networks, making setup easy and efficient without the need for HTTPS protection.
Before installing and configuring DeepContext LSP, ensure your environment meets the following software requirements:
- Neovim: Version v0.10.1 or higher.
- Python: Version 3.11 or higher.
- Ollama AI Server: Installed and configured on a local server machine.
- Pytest: Testing tool for Python.
Note: Lua-related dependencies and TTS features have been removed from the recent version.
DeepContext LSP uses advanced AI models to provide context-based autocompletion, helping developers write code faster with fewer errors and enhanced productivity.
The tool automatically generates detailed documentation, ensuring maintainability and making it easier for other developers to understand the code.
Detailed analysis is provided at the project, module, file, and code block levels, enabling relevant suggestions and helping developers identify potential issues early.
Choose between "QUICK" processing for lightweight responses or "DEEP" modes for comprehensive code analysis, adjusting the depth of analysis as needed.
DeepContext LSP is designed to work efficiently in secure local networks without requiring HTTPS, simplifying the setup process and reducing network overhead.
-
Install Dependencies:
- Ensure
pytest
is installed for Python testing.
- Ensure
-
Configure Neovim:
- Ensure Neovim is configured correctly to use the Python environment.
-
Setup Ollama Server:
- Set up the Ollama server on a local machine accessible by Neovim clients.
-
Neovim Integration: Configure Neovim to interact with DeepContext LSP, using its features to request suggestions, refactoring, and more.
-
Processing Modes: Adjust between QUICK and DEEP processing levels based on project needs.
Contributions are welcome! Please submit issues or pull requests to improve DeepContext LSP.