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>