{"id":20776444,"url":"https://github.com/liebki/myollamaenhancer","last_synced_at":"2026-05-02T10:03:43.841Z","repository":{"id":263246187,"uuid":"871112185","full_name":"liebki/MyOllamaEnhancer","owner":"liebki","description":"Simple Intellij Platform plugin, which allows to use any ollama models for a variaty of things.","archived":false,"fork":false,"pushed_at":"2025-03-13T19:41:50.000Z","size":53,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T10:47:32.788Z","etag":null,"topics":["intellij-idea","intellij-plugin","llm","ollama","rider-plugin"],"latest_commit_sha":null,"homepage":"https://plugins.jetbrains.com/plugin/25541-myollamaenhancer","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liebki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-11T09:44:08.000Z","updated_at":"2025-03-13T19:41:53.000Z","dependencies_parsed_at":"2024-11-17T09:29:18.207Z","dependency_job_id":"02c9b950-3b15-46d7-9559-71b6623683ba","html_url":"https://github.com/liebki/MyOllamaEnhancer","commit_stats":null,"previous_names":["liebki/myollamaenhancer"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FMyOllamaEnhancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FMyOllamaEnhancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FMyOllamaEnhancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liebki%2FMyOllamaEnhancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liebki","download_url":"https://codeload.github.com/liebki/MyOllamaEnhancer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248970781,"owners_count":21191486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["intellij-idea","intellij-plugin","llm","ollama","rider-plugin"],"created_at":"2024-11-17T13:08:40.459Z","updated_at":"2026-05-02T10:03:43.816Z","avatar_url":"https://github.com/liebki.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyOllamaEnhancer\n\n**Supercharge your development workflow with AI-powered code enhancement, knowledge management, and error analysis directly in IntelliJ IDEA and Rider!**\n\nMyOllamaEnhancer integrates Ollama's powerful language models into your IDE, providing code assistance, a simple chat with your codebase, and insightful error explanations - all running locally on your machine for maximum privacy and security.\n\n**Why MyOllamaEnhancer?**\n- 🔒 **100% Local Processing**: Your code never leaves your machine\n- 🧠 **AI-Powered Code Enhancement**: Smart suggestions for improving your code\n- 📚 **Index → Select → Send**: Index files and methods locally, select them in chat, and send with your message\n- 🐛 **Stacktrace Analysis**: Get clear explanations and fixes for complex errors\n- ⚙️ **Flexible Configuration**: Works with any Ollama model\n- 🌐 **Cross-Platform**: Supports IntelliJ IDEA and Rider on Windows, macOS, and Linux\n\n\n## Features\n\n### Code Enhancement\n- **Quick Enhancement**: Let the Ollama model decide what to change\n- **Option Enhancement**: Choose from multiple prompt variants to enhance your selection\n- **Custom Enhancement**: Add a custom prompt to control the outcome\n- **Comment Generation**: Automatically add comments to your code\n\n### Indexing and Context Selection\n- **Index File for Chat Context**: Right-click a file to index it. The whole file and discovered methods are stored in a local DuckDB database.\n- **Index All Code Files in Folder**: Bulk index supported files in a folder via right-click.\n- **Manage Indexed Items**: Open a management window to view and manage indexed files and individual methods.\n- **Select in Chat**: In the Chat tool window, indexed files and methods are displayed for selection. Your selection is sent along with your message to the chosen model.\n\n### Utilities\n- **Regex Generator**: You can generator regular expressions esily with an example input, wished output and a bit of LLM-Magic.\n- **Simple Chat**: Right now, no real chat history for the LLM supported, so if you chat every message is new BUT you can ask questions about code nontheless!\n- **Model Selector**: No weird string entry copy\u0026pasting all the time, you can simply (add a keymap first!) open the selector, double click any model and directly use it.\n- **Test Ollama Connection**: In the settings you can quickly ping ollama's server to check is the endpoint you typed in really reachable by the extension.\n\n\n## How Chat Context Works (No RAG)\n\nThis plugin does not use retrieval-augmented generation (RAG). Instead, you explicitly choose what to send:\n- Index files via right-click. The plugin stores the full file and extracted methods locally in DuckDB.\n- In the chat window, select the relevant files/methods to include.\n- Your selection is combined with your prompt and sent to the local model.\n\n\n### Stacktrace Analysis\n- **Stacktrace Insights (Bullet)**: Provides a simple summary of the stack trace in bullet points\n- **Stacktrace Insights (Text)**: Offers a more detailed text explanation of the stacktrace\n\n## Prerequisites\n\n1. **Install Ollama**: Download and install Ollama from [https://ollama.com/](https://ollama.com/)\n2. **Download a Model**: We recommend one of the following models as they have been tested with this plugin:\n   - `deepseek-r1:8b-llama-distill-q8_0` (simple reasoning)\n   - `llama3.2:3b-instruct-fp16`\n   \n   The `phi4-mini-reasoning:3.8b-fp16` model is not recommended because it tends to think a bit too complex and produces weird results.\n   \n   Download example:\n   ```bash\n   ollama pull llama3.2:3b-instruct-fp16\n   ```\n\n## Setup\n\n1. Install MyOllamaEnhancer from the JetBrains Marketplace\n2. Go to **Settings \u003e Other Settings \u003e MyOllamaEnhancer** to configure:\n   - Ollama server endpoint (default: http://localhost:11434)\n   - Model selection (e.g., llama3:8b-instruct-q6_K)\n   - API timeout (default: 120 seconds)\n\n3. Restart your IDE to ensure all features are properly initialized\n\n\n## Usage\n\n### Code Enhancement\n1. Select text or code\n2. Right-click\n3. Choose the MyOllamaEnhancer option you want to execute\n4. Wait for processing\n5. Review and apply the changes\n\n\n### Indexing and Managing Context\n1. **Index Items**: Right-click → \"Index File for Chat Context\" or \"Index All Code Files in Folder\"\n2. **Manage Indexed Items**: \n   - Right-click → \"Manage Indexed Items\" to open the management window\n   - Or go to Settings → MyOllamaEnhancer → \"Manage Indexed Items\" button\n3. **In the Management Window**:\n   - View and manage indexed files and their extracted methods\n   - Use bulk operations like \"Select All\" / \"Deselect All\"\n   - Delete individual records\n   - View code previews to identify items\n\n\n### Stacktrace Analysis\n1. Select a stack trace\n2. Right-click (IntelliJ IDEA) or click the info icon and input the stack trace (Rider IDE)\n3. Choose \"Stacktrace Insights (Bullet)\" or \"Stacktrace Insights (Text)\"\n4. Wait for analysis\n\n\n## Privacy and Security\n\nMyOllamaEnhancer is designed with your privacy and security in mind:\n\n- 🔒 **100% Local Processing**: All AI processing happens on your machine\n- 🚫 **No Data Transmission**: Your code and data never leave your computer\n- 📁 **Local Storage**: Chat history and your indexed items (files and methods) are stored locally in DuckDB\n- 🛡️ **Transparent**: Full control over your development environment\n\n\n## Best Model\n\nA strong model that performs well across various tasks is **llama3:8b-instruct-q6_K**.\n\nDownload this model by executing:\n```bash\nollama pull llama3:8b-instruct-q6_K\n```\n\nThis model is 6.6 GB, so please ensure you have adequate memory; I recommend running it on a device with at least 16 GB of RAM.\n\n\n## Indexed Items Overview\n\nIndexed items allow you to:\n- **Add context**: Index files and automatically extracted methods for precise context control\n- **Manage scope**: Enable or remove items to keep context focused\n- **Delete items**: Remove outdated or irrelevant entries\n- **Bulk operations**: Select all or deselect all items at once\n\nThis feature is particularly useful when you want to:\n- Keep conversations grounded in specific code areas\n- Avoid unrelated context by selecting only relevant files/methods\n- Ensure full privacy by keeping all data local without vector retrieval\n\n\n### Contributors!\nFeel free to add stuff you think that is helpful or useful!\n\nThanks also to:\n- [@boaglio](https://github.com/boaglio)\n\n\n### Todo\n- Check the [issues](https://github.com/liebki/MyOllamaEnhancer/issues), they often contain things that are planned.\n\n\n## License\n\nThis project is licensed under the AGPL license. See the [LICENSE](https://www.gnu.org/licenses/agpl-3.0.txt) file for details.\n\n---\n\n**Credits:** Icon by UXWing","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliebki%2Fmyollamaenhancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliebki%2Fmyollamaenhancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliebki%2Fmyollamaenhancer/lists"}