Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-14 Thread Michael Bien
sure, anyone can add it as a plugin. -mbien On 14.01.22 14:18, Eric Bresie wrote: findbug was forked (replaced) by spotbug (see https://spotbugs.github.io/ ).  Could this be used to replace the existing findbug dependency/code? Alternatively, the sonar lint plugin(s) on the plugin portal may

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-14 Thread Eric Bresie
findbug was forked (replaced) by spotbug (see https://spotbugs.github.io/ ). Could this be used to replace the existing findbug dependency/code? Alternatively, the sonar lint plugin(s) on the plugin portal may provide an alternative for code analysis features. Eric Bresie ebre...@gmail.com (mail

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
this is fixing it as far as i can tell: https://github.com/apache/netbeans/pull/3455 since you are good at finding bugs (:-)) - maybe you could give it a try -michael On 13.01.22 23:01, Thomas Wolf wrote: Done: https://issues.apache.org/jira/browse/NETBEANS-6388 Tom On Jan 13, 2022 at 4:2

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Just looking briefly at the Project->Inspect and Transform and the Source->Inspect… the main difference I see is that the latter allows the scope to be “Current Folder” - which the former doesn’t have. So it doesn’t look like one is a strict superset of the other. tom On Jan 13, 2022 at 4:38:46

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Yes, " Project->Inspect and Transform” seems to work. Tom On Jan 13, 2022 at 5:03:52 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Can you try the other one and see if it does what you need? > > Gj > > On Thu, 13 Jan 2022 at 23:01, Thomas Wolf wrote: > >> Done: >> https://

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Geertjan Wielenga
Can you try the other one and see if it does what you need? Gj On Thu, 13 Jan 2022 at 23:01, Thomas Wolf wrote: > Done: > https://issues.apache.org/jira/browse/NETBEANS-6388 > > Tom > > > On Jan 13, 2022 at 4:23:06 PM, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> Can you

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Done: https://issues.apache.org/jira/browse/NETBEANS-6388 Tom On Jan 13, 2022 at 4:23:06 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Can you report it with steps, would be happy to try to reproduce it. And I > think we need to remove all FindBugs support since it's broke

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Geertjan Wielenga
If the one does similar plus more and works. maybe we should simply hide the other. Gj On Thu, 13 Jan 2022 at 22:34, Michael Bien wrote: > ah interesting i can reproduce it too. > > try using refactor -> "inspect and transform" instead. It has similar > functionality + it can refactor after ins

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
ah interesting i can reproduce it too. try using refactor -> "inspect and transform" instead. It has similar functionality + it can refactor after inspection. Don't know why inspect behaves differently. Inspect and transform uses jackpot, while "inspect" can use other plugins too - there migh

Re: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Geertjan Wielenga
Can you report it with steps, would be happy to try to reproduce it. And I think we need to remove all FindBugs support since it's broken and no longer supported. Something that looks like a big 'ole bug is welcome to be turned into an issue. Gj On Thu, Jan 13, 2022 at 10:16 PM Thomas Wolf wrot

RE: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Thomas Wolf
Hi Michael, All my projects use “IDE-wide” in the project property hints as that seems to be the default. The problem I’m having isn’t that Netbeans can’t find “Netbeans Java Hints”. The problem is that when I try to define a configuration via the Source-Inspect… dialog, it lets me define it and

RE: Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-13 Thread Michael Bien
Hi Tom, "NetBeans Java Hints" should be there out of the box. Its the same system which is responsible for the in-editor hints. Difficult to say what is going on there. But in general: There are two configs, one is global which is applied to all projects by default, and the per-project confi

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-11 Thread Thomas Wolf
Geertjan, How do I create a configuration that uses simply the Netbeans Java Hints" analyzer? Under “Configuration” one can pick “Default” and then “Manage…” button becomes active. I then create a custom configuration using the “Netbeans Java Hints” analyzer. But after doing so, if I hit “Insp

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-11 Thread Geertjan Wielenga
Yes, FindBugs is no longer supported and that reference to it should be removed. Gj On Tue, 11 Jan 2022 at 20:32, Thomas Wolf wrote: > Hi, > Sorry if this has been asked before, but... > I just downloaded/installed 12.6. When going to Source->Inspect and > clicking on “Install” next to “Additi

Re: NB 12.6 - how to get static analyzer plugins to install

2022-01-11 Thread Thomas Wolf
Thanks Geertjan, Tom On Jan 11, 2022 at 3:01:21 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Yes, FindBugs is no longer supported and that reference to it should be > removed. > > Gj > > On Tue, 11 Jan 2022 at 20:32, Thomas Wolf wrote: > >> Hi, >> Sorry if this has been as