GitHub user Eccenux added a comment to the discussion: No constructors warning 
for HQL using DTO class constructor

Hm... OK. I think I understand the problem better. So, it's not like there are 
separate modules for autocomplete, linting, and things like that. It's all 
integrated into NB (or at least no longer separated enough). That's a tough one.

I guess one solution for users (devs like me) is not to update to the latest 
NetBeans version unless all their projects require the latest Java. That's not 
great, though, because new versions of NB is not only for Java, it also bring 
better support for things like JavaScript and CSS editing. And current 
installer is replacing previous version, which most of the time is good, but in 
this case not so much.

So... Even if supporting multiple `javac` versions is difficult (and I 
understand that it might not be appealing to you or you may even despise that 
idea), it does sound like something you should strive to support, or 
alternatively provide better separation between the NB modules. People will 
still use Lombok because it provides better compatibility then using records. 
Not sure if you had something else in mind that can be better for POJO/DTO?

There is another option: provide a plugin for Lombok. I'm not sure how feasible 
that is, since I haven't developed a NetBeans plugin yet. [There is a plugin 
for IntelliJ IDEA](https://plugins.jetbrains.com/plugin/6317-lombok), which, 
unfortunately, is what most of my team uses. IJ has its own set of problems, 
but it does have Lombok support.

GitHub link: 
https://github.com/apache/netbeans/discussions/9552#discussioncomment-17966426

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to