TE
ТехЭхо
ГлавнаяТоп за 24 часаНовейшиеЛучшиеВопросыПоказатьВакансии
GitHubTwitter
Главная

ТехЭхо

Платформа технологических новостей, созданная с использованием Next.js, предоставляющая глобальные технологические новости и обсуждения.

GitHubTwitter

Главная

ГлавнаяНовейшиеЛучшиеВопросыПоказатьВакансии

Ресурсы

HackerNews APIОригинальный HackerNewsNext.js

© 2025 ТехЭхо. Все права защищены.

Show HN: JavaFactory – IntelliJ plugin to generate Java code

44 балловавтор: javafactory5 дней назад
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:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ReBCXKOpW3M" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ReBCXKOpW3M</a><p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;JavaFactoryPluginDev&#x2F;javafactory-plugin">https:&#x2F;&#x2F;github.com&#x2F;JavaFactoryPluginDev&#x2F;javafactory-plugin</a>

6 comments

AugustoCAS5 дней назад
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.
评论 #44052532 未加载
评论 #44048778 未加载
geodel5 дней назад
Feels very Java like. Factories, repositories, utils, patterns etc. Good stuff.
评论 #44048396 未加载
评论 #44042291 未加载
cess115 дней назад
The guide is a 404.<p>&quot;404 - page not found The<p>master branch of<p>javafactory-plugin does not contain the path<p>docs&#x2F;how-to-use.md.&quot;<p>How do I hook it into local models? Does it support Ollama, Continue, that kind of thing? Do you collect telemetry?
评论 #44048424 未加载
simpaticoder5 дней назад
If the trend continues a program will look like &quot;JavaFactory(&quot;&lt;prompt&gt;&quot;).compile().run();&quot;.
评论 #44042795 未加载
评论 #44048399 未加载
likis5 дней назад
What LLM is it using? Is it something local? Or does it call out? It wasn&#x27;t obvious from the docs, and I didn&#x27;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.
评论 #44048405 未加载
评论 #44042108 未加载
p0w3n3d5 дней назад
As a programmer I feel bad if tests don&#x27;t fail at the first run... It might show that they are not testing...
评论 #44048421 未加载
评论 #44051113 未加载