Topics: eclipse-plugin, ollama, local-llm, ai-coding-assistant, java, eclipse-ide
A privacy-first AI coding assistant for Eclipse IDE, powered by local Ollama or OpenAI models like CodeLlama and DeepSeek Coder. Features: AI chat, code explanation, bug fixes, test generation, Javadoc. 100% local, no cloud.
| Feature | Description |
|---|---|
| 💬 AI Chat | Conversation with your local LLM directly in Eclipse |
| 🔍 Explain Code | Select code → Right-click → Get AI explanation |
| 🐛 Fix Code | AI suggests fixes for selected code |
| 🧪 Generate Tests | Auto-generate unit tests for your code |
| 📝 Add Documentation | Generate Javadoc comments automatically |
| ⚡ Smart Autocomplete | AI-powered code completion suggestions |
| 🔒 100% Private | Everything runs locally, no cloud required |
- OS: Windows 10/11, macOS, or Linux
- Eclipse IDE 2023-12 or newer
- Java 21 or compatible JDK
- Ollama installed and running (Download) or Open AI compatible endpoint (like llama-server)
# Recommended models for coding
ollama pull codellama
# or
ollama pull deepseek-coder
# or
ollama pull qwen2.5-coder- Download
EclipseLlama.jarfrom releases - Copy to Eclipse's
dropins/folder - Restart Eclipse
- Complete the setup wizard
- In Eclipse, go to Help → Install New Software...
- Click Add...
- Enter Name:
EclipseLlama - Enter Location:
https://vijaytank.github.io/eclipsellama/updatesite/ - Click Add, select EclipseLlama, and follow the wizard.
| Shortcut | Action |
|---|---|
Ctrl+Shift+L |
Open EclipseLlama Chat |
Ctrl+Shift+E |
Explain Selected Code |
- Press
Ctrl+Shift+Lor go to Help → EclipseLlama Chat - Type your question
- Press Enter to send
- Select code in the editor
- Right-click → EclipseLlama submenu
- Choose an action:
- 🔍 Explain This Code
- 🐛 Fix This Code
- 🧪 Generate Tests
- 📝 Add Documentation
Window → Preferences → EclipseLlama
- Configure Ollama endpoint URL
- Select default model
- Customize commit message prompts
Default settings are stored in ~/.eclipsellama/config.properties:
ollama.endpoint=http://localhost:11434
ollama.model=codellama| Model | Size | Best For |
|---|---|---|
codellama |
7B | General coding |
codellama:13b |
13B | Better accuracy |
deepseek-coder |
6.7B | Fast completions |
qwen2.5-coder |
7B | Multi-language |
If you are using a large model on slower hardware, you might encounter connection timeouts. EclipseLlama now has an increased 60-second timeout to accommodate slower local LLM responses. If issues persist, ensure your Ollama or OpenAI endpoint is reachable.
EclipseLlama runs entirely on your machine:
- ✅ No API keys required
- ✅ No data sent to cloud
- ✅ Works offline
- ✅ Your code stays private
Issues and pull requests welcome!
MIT License