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 <mbie...@gmail.com> 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 <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> 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 <tj...@gmail.com> 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
>>
>>
>

Reply via email to