[ANNOUNCE] Apache NetBeans 15 released

2022-09-06 Thread Geertjan Wielenga
Hi all, The Apache NetBeans team is pleased to announce that Apache NetBeans 15 was released on August 31, 2022 (though there's been a delay in announcing the release). What's in the Apache NetBeans 15 release: https://github.com/apache/netbeans/releases/tag/15 With thanks to 33 contributors, i

C/C++ Integration

2022-09-06 Thread slipbits
Is Netbeans abandoning future development of C/C++? I have tried to use Netbeans Lightweight C/C++ IDE in the last few releases unsuccessfully. The current Netbeans 15 does not support syntax highlighting using CLANGD, and as in previous releases, individual files can not be compiled and (for

Re: gradle project: how to pass jvm args for debug/run

2022-09-06 Thread Neil C Smith
On Tue, 6 Sept 2022 at 16:47, László Kishalmi wrote: > Project Properties > Build > Build Actions Thanks, but yes, I know that page. I've only just realised that you can select the *already selected* Custom... in the combobox to create a new action. Sorry, but that's not the most intuitive UI.

Re: Generate setters that return this

2022-09-06 Thread Neil C Smith
On Tue, 6 Sept 2022 at 18:20, Mitch Claborn wrote: > Yes, I suppose Builder is the more correct term. No, it isn't. It's a fluent API. A builder might use fluent setters, but they have uses elsewhere (if you do need mutability). Personally, I think this might be a good addition - the file you

Re: gradle project: how to pass jvm args for debug/run

2022-09-06 Thread Ernie Rael
To easily conditionalize some execution behavior, I can do the following tasks.run {     if(findProperty('JviDebugSettings')) {     systemProperties['com.raelity.jvi.DEBUG'] = 'true'     enableAssertions = true     } } and then in NetBeans' BuildActions can add "-

RE: Generate setters that return this

2022-09-06 Thread Greenberg, Gary
Under 'Refactor' menu you can find options to a) Replace constructor with Builder; b) Replace constructor with Factory But I don't think you can generate builders directly. -Original Message- From: Mitch Claborn Sent: Tuesday, September 6, 2022 10:20 AM To: users@netbeans.apache.org Sub

Re: Generate setters that return this

2022-09-06 Thread Mitch Claborn
Yes, I suppose Builder is the more correct term. The question is the same: Is there a way in NetBeans to generate those? Mitch On 9/6/22 11:52, Greenberg, Gary wrote: I think you are confusing setters with builders. Setters do not return anything, but builders do return this. Lookup design pa

RE: Generate setters that return this

2022-09-06 Thread Greenberg, Gary
I think you are confusing setters with builders. Setters do not return anything, but builders do return this. Lookup design patterns. -Original Message- From: Mitch Claborn Sent: Tuesday, September 6, 2022 5:49 AM To: users@netbeans.apache.org Subject: Re: Generate setters that return th

Re: gradle project: how to pass jvm args for debug/run

2022-09-06 Thread László Kishalmi
Project Properties > Build > Build Actions On Tue, Sep 6, 2022 at 8:09 AM Neil C Smith wrote: > On Tue, 6 Sept 2022 at 16:05, László Kishalmi > wrote: > > Actually we have a pretty good UI for custom actions. > > Agreed. My comment was specifically that I can't see a way to add a > custom acti

Re: gradle project: how to pass jvm args for debug/run

2022-09-06 Thread Neil C Smith
On Tue, 6 Sept 2022 at 16:05, László Kishalmi wrote: > Actually we have a pretty good UI for custom actions. Agreed. My comment was specifically that I can't see a way to add a custom action directly from the project properties, which Maven does have. Or have I missed something blindingly obvio

Re: gradle project: how to pass jvm args for debug/run

2022-09-06 Thread László Kishalmi
Actually we have a pretty good UI for custom actions. Though passing JVM arguments to a build is a sensitive topic mostly due to the daemon execution model. The way you set up the run task in your project is a good way to do that. On Tue, Sep 6, 2022 at 4:10 AM Neil C Smith wrote: > On Mon, 5 S

Re: Generate setters that return this

2022-09-06 Thread Mitch Claborn
I assume from the lack of response that this is not currently possible and would require development. Does anyone have an idea of how much work would be required to develop this? Mitch On 8/30/22 13:40, Mitch Claborn wrote: The "Generate Getters and Setters" dialog generates setters plain Jav

Re: Netbeans 15 release

2022-09-06 Thread joe foe
Awesome, thanks for the update! On Tue, 6 Sep 2022, 13:27 Neil C Smith, wrote: > On Tue, 6 Sept 2022 at 12:23, joe foe wrote: > > The vscode plugin has been auto updated to 15 but I don't see any > release notes for that and under > dist.apache.org/repos/dist/release/netbeans/netbeans-installe

Re: Netbeans 15 release

2022-09-06 Thread Neil C Smith
On Tue, 6 Sept 2022 at 12:23, joe foe wrote: > The vscode plugin has been auto updated to 15 but I don't see any release > notes for that and under > dist.apache.org/repos/dist/release/netbeans/netbeans-installers/15 the Linux > package is missing. > > Question, when will be the Linux installe

Netbeans 15 release

2022-09-06 Thread joe foe
Hello , The vscode plugin has been auto updated to 15 but I don't see any release notes for that and under dist.apache.org/repos/dist/release/netbeans/netbeans-installers/15 the Linux package is missing. Question, when will be the Linux installer be available and where can I see what's changed i

Re: gradle project: how to pass jvm args for debug/run

2022-09-06 Thread Neil C Smith
On Mon, 5 Sept 2022 at 19:56, Ernie Rael wrote: > > On 9/4/22 4:47 PM, Ernie Rael wrote: > > Just converted an ancient project from ant to gradle. With ant and I did > > > >project.properties:run.jvmargs=-Dcom.raelity.jvi.DEBUG\=true -ea > > > > With gradle I tried, on the "Main Project" > > I