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.
This is simply intended to be a top level discussion of features Eclipse users miss in the Netbeans Java editor. This will be used to find things which users don't know how to use or either really are missing and determine how best to address them. This is a simple aggregate issue. Please do NOT vote for it.
Please only comments from Netbeans users who are also Eclipse users or those who have recently switched to Netbeans from Eclipse.
Still using Eclipse. Currently evaluating Netbeans 6m7 plug-in module for stand-alone applications. Here my five cents: 1. Project viewer. Display packages in part list part tree form. The first 2 or 3 entries in package should be displayed as list (e.g. com.xxx.yyy), and the rest as tree. 2. Project viewer marks classes with compile errors. 3. Hierarchy viewer. It is very useful while trying to understand code, and quickly locating implementing classes of an interface. Ctrl + T pops up type hierarchy of current class 4. Smart code completion from editor. E.g. typing ‘a.sln’ matches a.setLastName(). Same for completing variable names or class names. 5. Link editor and project browser. Changing class in editor locates class in project viewer. This helps quickly locate class package in project viewer. 6. (IntelliJ feature) Ctrl + N pops up quick class finder window. As you type class name a list of matching classes appear below. Intelligent name recognition, typing ‘TGC’ would match ‘ThisGreatClass’. This is a killer feature, also missing in Eclipse. Once you start using it, you can't live without it. 7. From editor, when left-clicking in a class or method for which no javadoc or source is available, still show signature of class. This is better than current Netbeans approach, i.e. do nothing. Eduard
There are couples of things I would like to see 1. Support comprehensive Java code format(Rules on new line, break, and etc), or better, to allows developer to import eclipse code template. The standard code format that come with netbeans are pretty limited. Developers have to purchase third party code format tool (Japloy or Jindent) to be as on par with Eclipse code formatter. 2. Generate HashCode, equalus and toString 3. Alt-shift-O allows developers to quickly open java class, this should enhance to allows open on any project files, like jsp, html, xml and etc)
Ops, forgot to add in one important request 1. To support code completion for XML files base on XSD.
Schema Based code-completion for xml files is actually possible in Netbeans. Please refer to this<http://blogs.sun.com/vivek/category/Netbeans> tutorial for more details.
One thing missing in Netbeans Java Editor is the contextual menu action for generating getters and setters of the class. This feature is very much required and well supported by Eclipse. -Vivek
1. Project tree should show compile error, warnings and other things using icon.(like CVS or subversion module) http://www.netbeans.org/issues/show_bug.cgi?id=69182 2. There is no way to attach source to jar file.(We have to create library manager.) This is really useful, if I debug inside libraries. And this is also very useful to read libraries' source code. http://www.netbeans.org/issues/show_bug.cgi?id=92663
3. Alt-shift-O allows developers to quickly open java class, this should enhance to allows open on any project files, like jsp, html, xml and etc). http://www.netbeans.org/issues/show_bug.cgi?id=44586
This one is huge. Eclipse lets you right click on a selected Java package (and, actually, you can multi-select packages and right-click) and then Organize Imports, or in NetBeans parlance, Fix Imports. This is great to do right before checking in files to ensure that the imports are cleaned up. Right now, as far as I know, the only way to do it is one class at a time. The ability to format by packages would be great too.
1. Eclipse provides option for configuring the way imports are organized. i.e. Users can specify the order of imports as well as group the imports for e.g. all java.* would go together and org.* would go together. 2. Code Formatter and Source code cleanup (starting 3.2.1) in Eclipse adds a definitive advantage over NetBeans java editor. 3. Ability to configure the IDE to specify various runtime parameters for any number of Main Classes in persistent manner is much admirable. Though any project would finally ship with just one Main class (not a rule though), This is very important during development of the projects, for most programmers (including me) are more comfortable in testing their code using main and then* port it to JUnit if needed. 4. Configurable Error Reporting like tweaking the compiler options to turn them on/off on demand basis.
Also, Editable Diff is much sought after feature in NetBeans (Hope it's coming in M8) It would be best Local History module to use Editable Diff enabling the users to selectively revert their changes if needed.
One thing I really miss in netbeans is javadoc as a mouse tooltip - see http://www.netbeans.org/issues/show_bug.cgi?id=95691
halu, i'm ifnu from indonesia. i'm eclipse user, i would like to have these feature in netbeans editor: 1. cursor navigation. in eclispe i used to navigate cursor using Ctr-left and Ctr-right, the cursor will navigate forward or backward base on Letter case, for example, i have field named btnNavigateLeft, if my current cursor position in front on b, and i press Ctrl-right, the cursor will stop in N letter. For the same case netbeans 5.5 will place cursor after t letter. :D 2. Difficulty selecting words using double click in GNU/Linux. I use Kubuntu as my OS, and some people i met also complaining about these bug, sometimes i have to double-click several time to select (block) words. it's really annoying sometimes.:D 3. run and debug history . eclipse has run history that will record all previous run program, it is very useful and handy 4. intelligent code completion. eclipse has very ashtonising code completion, and it can guess whad, propably, the content of method parameter is. 5. try-catch handling. in eclipse i can append new catch-ed exception in existing try-catch clause that already surrounding current line i think for now thats all :D, i hope netbeans editor getting better and better :D regards
Eclipse doesn't show every single bit of file information on its editor window tabs. Eclipse allows the user to change this functionality
Certain well-sought features are still not implemented. please look at http://www.netbeans.org/issues/show_bug.cgi?id=97618#desc11 When will this be addressed?