NetBeans also proposes, via the “Source->Fix Code” menu, a number of “quick fixes” that let you apply simple fixes to simple problems, such as replacing “if (x=y)” with “if (x==y)” (see Figure 3). These very convenient features are actually useful around 80 percent of the time. One additional feature that is lacking, however, is the ability to access this functionality directly by clicking or right-clicking on the issue.
It also gives you a preview of what the script will look like after the changes (see Figure 5). If you do see any places where you don’t want NetBeans to intervene, you simply remove them from the list of occurrences.
Second, you can move the code around quite easily from within the editor. For example, jumping to the declaration of a function is easy using the “Navigate ? Go to declaration” menu option. If several functions share the same name, NetBeans will propose a list and let you choose.