Show HN: LLMDog – Format your codebase for LLM interactions (JetBrains Plugin)

https://github.com/doganarif/llmdog-intellij-plugin
by arifliftos • 1 year ago
3 0 1 year ago

LLMDog streamlines code discussions with AI models by automating the process of preparing and formatting code for LLM interactions. It's a JetBrains IDE plugin supporting all their IDEs (IntelliJ, PyCharm, WebStorm, etc.). Core functionality:

Generates formatted Markdown with proper syntax highlighting Preserves directory structure Handles multiple files and folders recursively Auto-copies to clipboard Works with any programming language Integrates directly into the IDE workflow

Technical Implementation:

Written in Kotlin using JetBrains platform API Uses JTree with custom cell renderer for file selection Implements ToolWindowFactory for IDE integration Handles virtual file system operations via VFS API Provides consistent Markdown formatting for code blocks Maintains full project context in generated output

Use Cases:

Code reviews Debugging assistance Documentation generation Architecture discussions Refactoring suggestions

The main goal was to eliminate the friction in preparing code for LLM discussions while maintaining consistent formatting and context, all without leaving your IDE.

Related Stories

Loading related stories...

Source preview

github.com