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 
provide an alternative for code analysis features.


Eric Bresie
ebre...@gmail.com

On January 13, 2022 at 5:07:48 PM CST, Michael Bien 
 wrote:


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:23:06 PM, Geertjan Wielenga 
 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 
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  wrote:

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 hit the
“Inspect” button, but the results tab simply shows “Required
Plugin Missing” even when the configuration I’ve defined and
run uses the built-in “Netbeans Java Hints".  As a matter of
fact, you don’t even have to define a configuration - just
select the “Default” one - which uses the “Netbeans Java Hints”
analyzer from the drop-down and hit “Inspect”.  You’ll still
see (at least I do) the result of “Required Plugin Missing”.

Sure looks like a big ‘ole bug to me.

I’m running NB 12.6 w. Java 17 on macOS, but I don’t think
that’s relevant here.

Thanks,
Tom


On Jan 13, 2022 at 3:03:49 PM, Michael Bien 
wrote:

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 config which can replace the
global default
if so configured.

You can find the settings in the project properties -> hints
section.
The global config is also replicated again in tools -> options
-> editor
-> hints.

You can run a custom set of rules via refactor -> inspect and
transform

Additionally to all that you can also write your own hint
rules. Some
example are here:

https://github.com/mbien/jackpot-inspections

(read the readme)

regards,

michael

On 2022/01/11 20:17:01 Thomas Wolf wrote:
> 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
“Inspect”,
> the dialog disappears as if everything is cool, but the
“Inspector” tab
> show “Required Plugins Missing”. Is “Netbeans Java Hints” a
plugin? If
> so, which one? I looked into the available plugins dialog
and don’t see
> one named that.
>
> Thinking that I might need to click the “Install” button
with my custom
> configuration selected, I try it - but it still looks for
“FindBugs”
- even
> though my configuration doesn’t use it.
>
> Is the answer “You’re just not holding it right”?
>
> Any advice appreciated,
> 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 asked before, but...
> >> I just downloaded/installed 12.6. When going to
Source->Inspect and
> >> clicking on “Install” next to “Additional plugins
required for the
selected
> >> configuration.”, it fails to do so (see screenshots) after
searching for
> >> “FindBugs Integration” module on NetBeans plugin portal…
> >>
> >> I’m not actually sure whether this is a 12.6 specific
problem. Is
there
> >> a known problem with the plugin portal?
> >>
> >> Any suggestions are appreciated,
> >> Tom
> >>
> >>
> >>
-
> >> To unsubscribe, e-mail: users

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 (mailto:ebre...@gmail.com)

> On January 13, 2022 at 5:07:48 PM CST, Michael Bien  (mailto:mbie...@gmail.com)> wrote:
>
> 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:23:06 PM, Geertjan Wielenga 
> >  > (mailto: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 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  > > (mailto:tjw...@gmail.com)> wrote:
> > > > 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 hit the “Inspect” button, but the results tab simply 
> > > > shows “Required Plugin Missing” even when the configuration I’ve 
> > > > defined and run uses the built-in “Netbeans Java Hints". As a matter of 
> > > > fact, you don’t even have to define a configuration - just select the 
> > > > “Default” one - which uses the “Netbeans Java Hints” analyzer from the 
> > > > drop-down and hit “Inspect”. You’ll still see (at least I do) the 
> > > > result of “Required Plugin Missing”.
> > > >
> > > > Sure looks like a big ‘ole bug to me.
> > > >
> > > > I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s 
> > > > relevant here.
> > > >
> > > > Thanks,
> > > > Tom
> > > >
> > > >
> > > > On Jan 13, 2022 at 3:03:49 PM, Michael Bien  > > > (mailto:mbie...@gmail.com)> wrote:
> > > > > 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 config which can replace the global 
> > > > > default
> > > > > if so configured.
> > > > >
> > > > > You can find the settings in the project properties -> hints section.
> > > > > The global config is also replicated again in tools -> options -> 
> > > > > editor
> > > > > -> hints.
> > > > >
> > > > > You can run a custom set of rules via refactor -> inspect and 
> > > > > transform
> > > > >
> > > > > Additionally to all that you can also write your own hint rules. Some
> > > > > example are here:
> > > > >
> > > > > https://github.com/mbien/jackpot-inspections
> > > > >
> > > > > (read the readme)
> > > > >
> > > > > regards,
> > > > >
> > > > > michael
> > > > >
> > > > > On 2022/01/11 20:17:01 Thomas Wolf wrote:
> > > > > > 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 
> > > > > > “Inspect”,
> > > > > > the dialog disappears as if everything is cool, but the “Inspector” 
> > > > > > tab
> > > > > > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? 
> > > > > > If
> > > > > > so, which one? I looked into the available plugins dialog and don’t 
> > > > > > see
> > > > > > one named that.
> > > > > >
> > > > > > Thinking that I might need to click the “Install” button with my 
> > > > > > custom
> > > > > > configuration selected, I try it - but it still looks for “FindBugs”
> > > > > - even
> > > > > > though my configuration doesn’t use it.
> > > > > >
> > > > > > Is the answer “You’re just not holding it right”?
> > > > > >
> > > > > > Any advice appreciated,
> > > > > > Tom
> > > > > >
> > > > > >
> > > > > > On Jan 11, 2022 at 3:01:21 PM, Geertjan Wielenga <
> > > > > > geertjan.wiele...@googlemail.com 
> > > > > > (mailto:geertjan.wiele...@googlemail.com)> wrote:
> > > > > >
> > > > > > > Yes, FindBugs is no longer supported and that reference to it 
> > > > > > > should be
> > > > > > > removed.
> > > > > > >
> > > > > > > Gj
> > > > > > >
> > > > > > > 

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:23:06 PM, Geertjan Wielenga 
 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 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  wrote:

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 hit the “Inspect” button, but
the results tab simply shows “Required Plugin Missing” even when
the configuration I’ve defined and run uses the built-in
“Netbeans Java Hints". As a matter of fact, you don’t even have
to define a configuration - just select the “Default” one - which
uses the “Netbeans Java Hints” analyzer from the drop-down and
hit “Inspect”.  You’ll still see (at least I do) the result of
“Required Plugin Missing”.

Sure looks like a big ‘ole bug to me.

I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s
relevant here.

Thanks,
Tom


On Jan 13, 2022 at 3:03:49 PM, Michael Bien 
wrote:

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 config which can replace the global
default
if so configured.

You can find the settings in the project properties -> hints
section.
The global config is also replicated again in tools -> options
-> editor
-> hints.

You can run a custom set of rules via refactor -> inspect and
transform

Additionally to all that you can also write your own hint rules.
Some
example are here:

https://github.com/mbien/jackpot-inspections

(read the readme)

regards,

michael

On 2022/01/11 20:17:01 Thomas Wolf wrote:
> 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
“Inspect”,
> the dialog disappears as if everything is cool, but the
“Inspector” tab
> show “Required Plugins Missing”. Is “Netbeans Java Hints” a
plugin? If
> so, which one? I looked into the available plugins dialog and
don’t see
> one named that.
>
> Thinking that I might need to click the “Install” button with
my custom
> configuration selected, I try it - but it still looks for
“FindBugs”
- even
> though my configuration doesn’t use it.
>
> Is the answer “You’re just not holding it right”?
>
> Any advice appreciated,
> 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 asked before, but...
> >> I just downloaded/installed 12.6. When going to
Source->Inspect and
> >> clicking on “Install” next to “Additional plugins required
for the
selected
> >> configuration.”, it fails to do so (see screenshots) after
searching for
> >> “FindBugs Integration” module on NetBeans plugin portal…
> >>
> >> I’m not actually sure whether this is a 12.6 specific
problem. Is
there
> >> a known problem with the plugin portal?
> >>
> >> Any suggestions are appreciated,
> >> Tom
> >>
> >>
> >>
-
> >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> >> For additional commands, e-mail: users-h...@netbeans.apache.org
> >>
> >> For further information about the NetBeans mailing lists,
visit:
> >>
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
>

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For addition

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 PM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> 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 inspection.
>>
>> Don't know why inspect behaves differently. Inspect and transform uses
>> jackpot, while "inspect" can use other plugins too - there might be
>> something wrong in the check whats available and what is not.
>>
>> -mbien
>>
>> On 13.01.22 22:16, Thomas Wolf wrote:
>>
>> 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 hit
>> the “Inspect” button, but the results tab simply shows “Required Plugin
>> Missing” even when the configuration I’ve defined and run uses the built-in
>> “Netbeans Java Hints".  As a matter of fact, you don’t even have to define
>> a configuration - just select the “Default” one - which uses the “Netbeans
>> Java Hints” analyzer from the drop-down and hit “Inspect”.  You’ll still
>> see (at least I do) the result of “Required Plugin Missing”.
>>
>> Sure looks like a big ‘ole bug to me.
>>
>> I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s
>> relevant here.
>>
>> Thanks,
>> Tom
>>
>>
>> On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:
>>
>>> 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 config which can replace the global default
>>> if so configured.
>>>
>>> You can find the settings in the project properties -> hints section.
>>> The global config is also replicated again in tools -> options -> editor
>>> -> hints.
>>>
>>> You can run a custom set of rules via refactor -> inspect and transform
>>>
>>> Additionally to all that you can also write your own hint rules. Some
>>> example are here:
>>>
>>> https://github.com/mbien/jackpot-inspections
>>>
>>> (read the readme)
>>>
>>> regards,
>>>
>>> michael
>>>
>>> On 2022/01/11 20:17:01 Thomas Wolf wrote:
>>> > 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 “Inspect”,
>>> > the dialog disappears as if everything is cool, but the “Inspector” tab
>>> > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
>>> > so, which one? I looked into the available plugins dialog and don’t see
>>> > one named that.
>>> >
>>> > Thinking that I might need to click the “Install” button with my custom
>>> > configuration selected, I try it - but it still looks for “FindBugs”
>>> - even
>>> > though my configuration doesn’t use it.
>>> >
>>> > Is the answer “You’re just not holding it right”?
>>> >
>>> > Any advice appreciated,
>>> > 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 asked before, but...
>>> > >> I just downloaded/installed 12.6. When going to Source->Inspect and
>>> > >> clicking on “Install” next to “Additional plugins required for the
>>> selected
>>> > >> configuration.”, it fails to do so (see screenshots) after
>>> searching for
>>> > >> “FindBugs Integration” module on NetBeans plugin portal…
>>> > >>
>>> > >> I’m not actually sure whether this is a 12.6 specific problem. Is
>>> there
>>> > >> a known problem with the plugin portal?
>>> > >>
>>> > >> Any suggestions are appreciated,
>>> > >> Tom
>>> > >>
>>> > >>
>>> > >>
>>> -
>>> > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>> > >> For additional commands, e-mail: users-h...@netbeans.apache.org
>>> > >>
>>> > >> For further information about the NetBeans mailing lists, visit:
>>

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://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 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  wrote:
>>>
 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 hit
 the “Inspect” button, but the results tab simply shows “Required Plugin
 Missing” even when the configuration I’ve defined and run uses the built-in
 “Netbeans Java Hints".  As a matter of fact, you don’t even have to define
 a configuration - just select the “Default” one - which uses the “Netbeans
 Java Hints” analyzer from the drop-down and hit “Inspect”.  You’ll still
 see (at least I do) the result of “Required Plugin Missing”.

 Sure looks like a big ‘ole bug to me.

 I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s
 relevant here.

 Thanks,
 Tom


 On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:

> 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 config which can replace the global
> default
> if so configured.
>
> You can find the settings in the project properties -> hints section.
> The global config is also replicated again in tools -> options ->
> editor
> -> hints.
>
> You can run a custom set of rules via refactor -> inspect and transform
>
> Additionally to all that you can also write your own hint rules. Some
> example are here:
>
> https://github.com/mbien/jackpot-inspections
>
> (read the readme)
>
> regards,
>
> michael
>
> On 2022/01/11 20:17:01 Thomas Wolf wrote:
> > 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
> “Inspect”,
> > the dialog disappears as if everything is cool, but the “Inspector”
> tab
> > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin?
> If
> > so, which one? I looked into the available plugins dialog and don’t
> see
> > one named that.
> >
> > Thinking that I might need to click the “Install” button with my
> custom
> > configuration selected, I try it - but it still looks for “FindBugs”
> - even
> > though my configuration doesn’t use it.
> >
> > Is the answer “You’re just not holding it right”?
> >
> > Any advice appreciated,
> > 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 asked before, but...
> > >> I just downloaded/installed 12.6. When going to Source->Inspect
> and
> > >> clicking on “Install” next to “Additional plugins required for
> the
> selected
> > >> configuration.”, it fails to do so (see screenshots) after
> searching for
> > >> “FindBugs Integration” module on NetBeans plugin portal…
> > >>
> > >> I’m not actually sure whether this is a 12.6 specific problem. Is
> there
> > >> a known problem with the plugin portal?
> > >>
> > >> Any suggestions are appreciated,
> > >> Tom
> > >>
> > >>
> > >>
> -
> > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > >> For additional commands, e-mail: use

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 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  wrote:
>>
>>> 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 hit
>>> the “Inspect” button, but the results tab simply shows “Required Plugin
>>> Missing” even when the configuration I’ve defined and run uses the built-in
>>> “Netbeans Java Hints".  As a matter of fact, you don’t even have to define
>>> a configuration - just select the “Default” one - which uses the “Netbeans
>>> Java Hints” analyzer from the drop-down and hit “Inspect”.  You’ll still
>>> see (at least I do) the result of “Required Plugin Missing”.
>>>
>>> Sure looks like a big ‘ole bug to me.
>>>
>>> I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s
>>> relevant here.
>>>
>>> Thanks,
>>> Tom
>>>
>>>
>>> On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:
>>>
 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 config which can replace the global
 default
 if so configured.

 You can find the settings in the project properties -> hints section.
 The global config is also replicated again in tools -> options ->
 editor
 -> hints.

 You can run a custom set of rules via refactor -> inspect and transform

 Additionally to all that you can also write your own hint rules. Some
 example are here:

 https://github.com/mbien/jackpot-inspections

 (read the readme)

 regards,

 michael

 On 2022/01/11 20:17:01 Thomas Wolf wrote:
 > 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
 “Inspect”,
 > the dialog disappears as if everything is cool, but the “Inspector”
 tab
 > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
 > so, which one? I looked into the available plugins dialog and don’t
 see
 > one named that.
 >
 > Thinking that I might need to click the “Install” button with my
 custom
 > configuration selected, I try it - but it still looks for “FindBugs”
 - even
 > though my configuration doesn’t use it.
 >
 > Is the answer “You’re just not holding it right”?
 >
 > Any advice appreciated,
 > 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 asked before, but...
 > >> I just downloaded/installed 12.6. When going to Source->Inspect and
 > >> clicking on “Install” next to “Additional plugins required for the
 selected
 > >> configuration.”, it fails to do so (see screenshots) after
 searching for
 > >> “FindBugs Integration” module on NetBeans plugin portal…
 > >>
 > >> I’m not actually sure whether this is a 12.6 specific problem. Is
 there
 > >> a known problem with the plugin portal?
 > >>
 > >> Any suggestions are appreciated,
 > >> Tom
 > >>
 > >>
 > >>
 -
 > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
 > >> For additional commands, e-mail: users-h...@netbeans.apache.org
 > >>
 > >> For further information about the NetBeans mailing lists, visit:
 > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
 > >
 > >
 >

 -
 To unsubscribe

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 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  wrote:
>
>> 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 hit
>> the “Inspect” button, but the results tab simply shows “Required Plugin
>> Missing” even when the configuration I’ve defined and run uses the built-in
>> “Netbeans Java Hints".  As a matter of fact, you don’t even have to define
>> a configuration - just select the “Default” one - which uses the “Netbeans
>> Java Hints” analyzer from the drop-down and hit “Inspect”.  You’ll still
>> see (at least I do) the result of “Required Plugin Missing”.
>>
>> Sure looks like a big ‘ole bug to me.
>>
>> I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s
>> relevant here.
>>
>> Thanks,
>> Tom
>>
>>
>> On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:
>>
>>> 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 config which can replace the global default
>>> if so configured.
>>>
>>> You can find the settings in the project properties -> hints section.
>>> The global config is also replicated again in tools -> options -> editor
>>> -> hints.
>>>
>>> You can run a custom set of rules via refactor -> inspect and transform
>>>
>>> Additionally to all that you can also write your own hint rules. Some
>>> example are here:
>>>
>>> https://github.com/mbien/jackpot-inspections
>>>
>>> (read the readme)
>>>
>>> regards,
>>>
>>> michael
>>>
>>> On 2022/01/11 20:17:01 Thomas Wolf wrote:
>>> > 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 “Inspect”,
>>> > the dialog disappears as if everything is cool, but the “Inspector” tab
>>> > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
>>> > so, which one? I looked into the available plugins dialog and don’t see
>>> > one named that.
>>> >
>>> > Thinking that I might need to click the “Install” button with my custom
>>> > configuration selected, I try it - but it still looks for “FindBugs”
>>> - even
>>> > though my configuration doesn’t use it.
>>> >
>>> > Is the answer “You’re just not holding it right”?
>>> >
>>> > Any advice appreciated,
>>> > 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 asked before, but...
>>> > >> I just downloaded/installed 12.6. When going to Source->Inspect and
>>> > >> clicking on “Install” next to “Additional plugins required for the
>>> selected
>>> > >> configuration.”, it fails to do so (see screenshots) after
>>> searching for
>>> > >> “FindBugs Integration” module on NetBeans plugin portal…
>>> > >>
>>> > >> I’m not actually sure whether this is a 12.6 specific problem. Is
>>> there
>>> > >> a known problem with the plugin portal?
>>> > >>
>>> > >> Any suggestions are appreciated,
>>> > >> Tom
>>> > >>
>>> > >>
>>> > >>
>>> -
>>> > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>> > >> For additional commands, e-mail: users-h...@netbeans.apache.org
>>> > >>
>>> > >> For further information about the NetBeans mailing lists, visit:
>>> > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>> > >
>>> > >
>>> >
>>>
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>>
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>>
>>>


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 inspection.
>
> Don't know why inspect behaves differently. Inspect and transform uses
> jackpot, while "inspect" can use other plugins too - there might be
> something wrong in the check whats available and what is not.
>
> -mbien
>
> On 13.01.22 22:16, Thomas Wolf wrote:
>
> 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 hit
> the “Inspect” button, but the results tab simply shows “Required Plugin
> Missing” even when the configuration I’ve defined and run uses the built-in
> “Netbeans Java Hints".  As a matter of fact, you don’t even have to define
> a configuration - just select the “Default” one - which uses the “Netbeans
> Java Hints” analyzer from the drop-down and hit “Inspect”.  You’ll still
> see (at least I do) the result of “Required Plugin Missing”.
>
> Sure looks like a big ‘ole bug to me.
>
> I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s relevant
> here.
>
> Thanks,
> Tom
>
>
> On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:
>
>> 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 config which can replace the global default
>> if so configured.
>>
>> You can find the settings in the project properties -> hints section.
>> The global config is also replicated again in tools -> options -> editor
>> -> hints.
>>
>> You can run a custom set of rules via refactor -> inspect and transform
>>
>> Additionally to all that you can also write your own hint rules. Some
>> example are here:
>>
>> https://github.com/mbien/jackpot-inspections
>>
>> (read the readme)
>>
>> regards,
>>
>> michael
>>
>> On 2022/01/11 20:17:01 Thomas Wolf wrote:
>> > 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 “Inspect”,
>> > the dialog disappears as if everything is cool, but the “Inspector” tab
>> > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
>> > so, which one? I looked into the available plugins dialog and don’t see
>> > one named that.
>> >
>> > Thinking that I might need to click the “Install” button with my custom
>> > configuration selected, I try it - but it still looks for “FindBugs”
>> - even
>> > though my configuration doesn’t use it.
>> >
>> > Is the answer “You’re just not holding it right”?
>> >
>> > Any advice appreciated,
>> > 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 asked before, but...
>> > >> I just downloaded/installed 12.6. When going to Source->Inspect and
>> > >> clicking on “Install” next to “Additional plugins required for the
>> selected
>> > >> configuration.”, it fails to do so (see screenshots) after
>> searching for
>> > >> “FindBugs Integration” module on NetBeans plugin portal…
>> > >>
>> > >> I’m not actually sure whether this is a 12.6 specific problem. Is
>> there
>> > >> a known problem with the plugin portal?
>> > >>
>> > >> Any suggestions are appreciated,
>> > >> Tom
>> > >>
>> > >>
>> > >> -
>> > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> > >> For additional commands, e-mail: users-h...@netbeans.apache.org
>> > >>
>> > >> For further information about the NetBeans mailing lists, visit:
>> > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> > >
>> > >
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>


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 might be 
something wrong in the check whats available and what is not.


-mbien

On 13.01.22 22:16, Thomas Wolf wrote:

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 hit the “Inspect” button, but the results tab simply 
shows “Required Plugin Missing” even when the configuration I’ve 
defined and run uses the built-in “Netbeans Java Hints".  As a matter 
of fact, you don’t even have to define a configuration - just select 
the “Default” one - which uses the “Netbeans Java Hints” analyzer from 
the drop-down and hit “Inspect”.  You’ll still see (at least I do) the 
result of “Required Plugin Missing”.


Sure looks like a big ‘ole bug to me.

I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s 
relevant here.


Thanks,
Tom


On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:

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 config which can replace the global default
if so configured.

You can find the settings in the project properties -> hints section.
The global config is also replicated again in tools -> options -> editor
-> hints.

You can run a custom set of rules via refactor -> inspect and transform

Additionally to all that you can also write your own hint rules. Some
example are here:

https://github.com/mbien/jackpot-inspections

(read the readme)

regards,

michael

On 2022/01/11 20:17:01 Thomas Wolf wrote:
> 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 “Inspect”,
> the dialog disappears as if everything is cool, but the “Inspector” tab
> show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
> so, which one? I looked into the available plugins dialog and don’t see
> one named that.
>
> Thinking that I might need to click the “Install” button with my custom
> configuration selected, I try it - but it still looks for “FindBugs”
- even
> though my configuration doesn’t use it.
>
> Is the answer “You’re just not holding it right”?
>
> Any advice appreciated,
> 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 asked before, but...
> >> I just downloaded/installed 12.6. When going to Source->Inspect and
> >> clicking on “Install” next to “Additional plugins required for the
selected
> >> configuration.”, it fails to do so (see screenshots) after
searching for
> >> “FindBugs Integration” module on NetBeans plugin portal…
> >>
> >> I’m not actually sure whether this is a 12.6 specific problem. Is
there
> >> a known problem with the plugin portal?
> >>
> >> Any suggestions are appreciated,
> >> Tom
> >>
> >>
> >> 
-

> >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> >> For additional commands, e-mail: users-h...@netbeans.apache.org
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
>

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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



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  wrote:

> 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 hit
> the “Inspect” button, but the results tab simply shows “Required Plugin
> Missing” even when the configuration I’ve defined and run uses the built-in
> “Netbeans Java Hints".  As a matter of fact, you don’t even have to define
> a configuration - just select the “Default” one - which uses the “Netbeans
> Java Hints” analyzer from the drop-down and hit “Inspect”.  You’ll still
> see (at least I do) the result of “Required Plugin Missing”.
>
> Sure looks like a big ‘ole bug to me.
>
> I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s relevant
> here.
>
> Thanks,
> Tom
>
>
> On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:
>
>> 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 config which can replace the global default
>> if so configured.
>>
>> You can find the settings in the project properties -> hints section.
>> The global config is also replicated again in tools -> options -> editor
>> -> hints.
>>
>> You can run a custom set of rules via refactor -> inspect and transform
>>
>> Additionally to all that you can also write your own hint rules. Some
>> example are here:
>>
>> https://github.com/mbien/jackpot-inspections
>>
>> (read the readme)
>>
>> regards,
>>
>> michael
>>
>> On 2022/01/11 20:17:01 Thomas Wolf wrote:
>> > 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 “Inspect”,
>> > the dialog disappears as if everything is cool, but the “Inspector” tab
>> > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
>> > so, which one? I looked into the available plugins dialog and don’t see
>> > one named that.
>> >
>> > Thinking that I might need to click the “Install” button with my custom
>> > configuration selected, I try it - but it still looks for “FindBugs”
>> - even
>> > though my configuration doesn’t use it.
>> >
>> > Is the answer “You’re just not holding it right”?
>> >
>> > Any advice appreciated,
>> > 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 asked before, but...
>> > >> I just downloaded/installed 12.6. When going to Source->Inspect and
>> > >> clicking on “Install” next to “Additional plugins required for the
>> selected
>> > >> configuration.”, it fails to do so (see screenshots) after
>> searching for
>> > >> “FindBugs Integration” module on NetBeans plugin portal…
>> > >>
>> > >> I’m not actually sure whether this is a 12.6 specific problem. Is
>> there
>> > >> a known problem with the plugin portal?
>> > >>
>> > >> Any suggestions are appreciated,
>> > >> Tom
>> > >>
>> > >>
>> > >> -
>> > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> > >> For additional commands, e-mail: users-h...@netbeans.apache.org
>> > >>
>> > >> For further information about the NetBeans mailing lists, visit:
>> > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> > >
>> > >
>> >
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>


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 hit
the “Inspect” button, but the results tab simply shows “Required Plugin
Missing” even when the configuration I’ve defined and run uses the built-in
“Netbeans Java Hints".  As a matter of fact, you don’t even have to define
a configuration - just select the “Default” one - which uses the “Netbeans
Java Hints” analyzer from the drop-down and hit “Inspect”.  You’ll still
see (at least I do) the result of “Required Plugin Missing”.

Sure looks like a big ‘ole bug to me.

I’m running NB 12.6 w. Java 17 on macOS, but I don’t think that’s relevant
here.

Thanks,
Tom


On Jan 13, 2022 at 3:03:49 PM, Michael Bien  wrote:

> 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 config which can replace the global default
> if so configured.
>
> You can find the settings in the project properties -> hints section.
> The global config is also replicated again in tools -> options -> editor
> -> hints.
>
> You can run a custom set of rules via refactor -> inspect and transform
>
> Additionally to all that you can also write your own hint rules. Some
> example are here:
>
> https://github.com/mbien/jackpot-inspections
>
> (read the readme)
>
> regards,
>
> michael
>
> On 2022/01/11 20:17:01 Thomas Wolf wrote:
> > 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 “Inspect”,
> > the dialog disappears as if everything is cool, but the “Inspector” tab
> > show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
> > so, which one? I looked into the available plugins dialog and don’t see
> > one named that.
> >
> > Thinking that I might need to click the “Install” button with my custom
> > configuration selected, I try it - but it still looks for “FindBugs”
> - even
> > though my configuration doesn’t use it.
> >
> > Is the answer “You’re just not holding it right”?
> >
> > Any advice appreciated,
> > 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 asked before, but...
> > >> I just downloaded/installed 12.6. When going to Source->Inspect and
> > >> clicking on “Install” next to “Additional plugins required for the
> selected
> > >> configuration.”, it fails to do so (see screenshots) after
> searching for
> > >> “FindBugs Integration” module on NetBeans plugin portal…
> > >>
> > >> I’m not actually sure whether this is a 12.6 specific problem. Is
> there
> > >> a known problem with the plugin portal?
> > >>
> > >> Any suggestions are appreciated,
> > >> Tom
> > >>
> > >>
> > >> -
> > >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > >> For additional commands, e-mail: users-h...@netbeans.apache.org
> > >>
> > >> For further information about the NetBeans mailing lists, visit:
> > >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> >
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


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 config which can replace the global default 
if so configured.


You can find the settings in the project properties -> hints section. 
The global config is also replicated again in tools -> options -> editor 
-> hints.


You can run a custom set of rules via refactor -> inspect and transform

Additionally to all that you can also write your own hint rules. Some 
example are here:


https://github.com/mbien/jackpot-inspections

(read the readme)

regards,

michael

On 2022/01/11 20:17:01 Thomas Wolf wrote:
> 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 “Inspect”,
> the dialog disappears as if everything is cool, but the “Inspector” tab
> show “Required Plugins Missing”. Is “Netbeans Java Hints” a plugin? If
> so, which one? I looked into the available plugins dialog and don’t see
> one named that.
>
> Thinking that I might need to click the “Install” button with my custom
> configuration selected, I try it - but it still looks for “FindBugs” 
- even

> though my configuration doesn’t use it.
>
> Is the answer “You’re just not holding it right”?
>
> Any advice appreciated,
> 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 asked before, but...
> >> I just downloaded/installed 12.6. When going to Source->Inspect and
> >> clicking on “Install” next to “Additional plugins required for the 
selected
> >> configuration.”, it fails to do so (see screenshots) after 
searching for

> >> “FindBugs Integration” module on NetBeans plugin portal…
> >>
> >> I’m not actually sure whether this is a 12.6 specific problem. Is 
there

> >> a known problem with the plugin portal?
> >>
> >> Any suggestions are appreciated,
> >> Tom
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> >> For additional commands, e-mail: users-h...@netbeans.apache.org
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
>

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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



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 “Inspect”,
the dialog disappears as if everything is cool, but the “Inspector” tab
show “Required Plugins Missing”.  Is “Netbeans Java Hints” a plugin?  If
so, which one?  I looked into the available plugins dialog and don’t see
one named that.

Thinking that I might need to click the “Install” button with my custom
configuration selected, I try it - but it still looks for “FindBugs” - even
though my configuration doesn’t  use it.

Is the answer “You’re just not holding it right”?

Any advice appreciated,
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 asked before, but...
>> I just downloaded/installed 12.6.  When going to Source->Inspect and
>> clicking on “Install” next to “Additional plugins required for the selected
>> configuration.”, it fails to do so (see screenshots) after searching for
>> “FindBugs Integration” module on NetBeans plugin portal…
>>
>> I’m not actually sure whether this is a 12.6 specific problem.  Is there
>> a known problem with the plugin portal?
>>
>> Any suggestions are appreciated,
>> Tom
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


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 “Additional plugins required for the selected
> configuration.”, it fails to do so (see screenshots) after searching for
> “FindBugs Integration” module on NetBeans plugin portal…
>
> I’m not actually sure whether this is a 12.6 specific problem.  Is there a
> known problem with the plugin portal?
>
> Any suggestions are appreciated,
> Tom
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


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 asked before, but...
>> I just downloaded/installed 12.6.  When going to Source->Inspect and
>> clicking on “Install” next to “Additional plugins required for the selected
>> configuration.”, it fails to do so (see screenshots) after searching for
>> “FindBugs Integration” module on NetBeans plugin portal…
>>
>> I’m not actually sure whether this is a 12.6 specific problem.  Is there
>> a known problem with the plugin portal?
>>
>> Any suggestions are appreciated,
>> Tom
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>