This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
What is missing in Netbeans IDE is user defined button/menu, with defined command line to pointed executive. I work with embedded devices, and I have to run many applications/batch files to start debugging session, to flash target device, send reset command and so forth. It will be very helpfull to define some buttons that could be placed on IDE toolbar, to run these scripts or programs. Configuration should be project specific, not global. Button can have caption or an image with tooltip. Code::Blocks have something similar - user can define Tools menu with caption, path to executive and arguments.
Created attachment 118245 [details] mock-up: user action buttons added to main toolbar I fully endorse this enhancement. I used to use it in UltraEdit for various purposes. Due to my own experience with the usefulness of such a functionality I change the priority of this enhancement to P2. To start, I created a set of nine buttons that fit the NB conventions. I am attaching a mock-up screenshot with all buttons added to main toolbar. Note that this would not be the typical case - I expect users would usually need only one, two or three buttons. The icons depict a paper airplane. I found this to be reasonable for the purpose of representing a series of user actions. The image is reasonably recognizable and symbolizes one's own creativity. Any more explicit tool image (screwdriver, hammer, pliers) would unwantedly suggest an action that is internal to IDE. The paper airplane shape allowed to add numbers to each icon, as well as differentiating by decent color differences. Thus, although all icons are recognizably the same in meaning, they are easily distinguishable among each other. I am going to attach each icon file separately...
Created attachment 118246 [details] user action icon 1 large
Created attachment 118247 [details] user action icon 1 small
Created attachment 118248 [details] all nine user action icons, both large and small, zipped
Probably better to play with different approaches in unofficial plugins. Note that you can binding toolbar buttons (and menu items and shortcuts) to Ant targets - check the target's context menu. Bug #153420 proposes adding a similar facility for Maven goals, though the cases are not exactly analogous.
Marking this issue as duplicate of 35582, because it addresses the same problem. Comments from both issues should nevertheless be taken into account. *** This bug has been marked as a duplicate of bug 35582 ***