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