manolowar
manolowar

Reputation: 6982

"Fix similar errors" feature in Netbeans

This is a question about Netbeans. In the Tasks panel, can I select some similar errors and fix them all? I remember doing this in eclipse.

For example, I have a lot of warnings about not using String concatenation with a StringBuilder, and Netbeans is capable of fixing those errors replacing the String concatenations with calls to the StringBuilder.append() method. It would be nice if I could fix all those errors with just one click.

Upvotes: 4

Views: 453

Answers (2)

Kevin Preller
Kevin Preller

Reputation: 11

I am currently not aware of anything built into netbeans that does this.

A macro would be best, although good old Alt+Enter does the trick.

Upvotes: 1

Related Questions