Hi HN,<p>I built a code generator plugin for IntelliJ that uses LLMs to create repetitive Java code like implementations, tests, and fixtures — based on custom natural-language patterns and annotation-based references.<p>Most tools like Copilot or Cursor aim to be general, but fail to produce code that actually fits a project structure or passes tests.<p>So I made something more explicit: define patterns + reference scope, and generate code consistently.<p>In this demo, 400 lines of Java were generated in 20 seconds — and all tests passed:
<a href="https://www.youtube.com/watch?v=ReBCXKOpW3M" rel="nofollow">https://www.youtube.com/watch?v=ReBCXKOpW3M</a><p>GitHub: <a href="https://github.com/JavaFactoryPluginDev/javafactory-plugin">https://github.com/JavaFactoryPluginDev/javafactory-plugin</a>
A side comment, I have found that configuring a few live templates in IntelliJ helps me to write a lot of the repetitive code just a handful of keystrokes regardless of the language.<p>Structural refactoring is another amazing feature that is worth knowing.
The guide is a 404.<p>"404 - page not found
The<p>master
branch of<p>javafactory-plugin
does not contain the path<p>docs/how-to-use.md."<p>How do I hook it into local models? Does it support Ollama, Continue, that kind of thing? Do you collect telemetry?
What LLM is it using? Is it something local? Or does it call out? It wasn't obvious from the docs, and I didn't want to dig through all of the code to figure it out. Should probably be clearly stated on the front page.<p>But the project looks interesting, I have been looking for something similar.