Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 97618 - Just a top level discussion of features Eclipse users miss in the Netbeans Java editor
Just a top level discussion of features Eclipse users miss in the Netbeans Ja...
Status: NEW
Product: java
Classification: Unclassified
Component: Editor
5.x
All All
: P4 (vote)
: TBD
Assigned To: Dusan Balek
issues@java
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-10 19:56 UTC by _ wadechandler
Modified: 2013-09-02 14:23 UTC (History)
6 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ wadechandler 2007-03-10 19:56:13 UTC
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.
Comment 1 _ wadechandler 2007-03-10 20:02:00 UTC
Please only comments from Netbeans users who are also Eclipse users or those who
have recently switched to Netbeans from Eclipse.
Comment 2 eduardmanas 2007-03-11 19:08:43 UTC
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
Comment 3 jameskhoo 2007-03-12 06:31:51 UTC
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)
Comment 4 jameskhoo 2007-03-12 06:34:05 UTC
Ops, forgot to add in one important request
1. To support code completion for XML files base on XSD.
Comment 5 vivekjain 2007-03-12 10:21:03 UTC
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.
Comment 6 vivekjain 2007-03-12 10:24:48 UTC
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
Comment 7 abs 2007-03-12 15:25:37 UTC
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
Comment 8 Michel Graciano 2007-03-12 17:19:40 UTC
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
Comment 9 asleson 2007-03-12 17:40:14 UTC
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.
Comment 10 elishae 2007-03-12 19:26:22 UTC
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.
Comment 11 elishae 2007-03-12 19:42:37 UTC
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.

Comment 12 Tomas Mysik 2007-03-13 10:37:44 UTC
One thing I really miss in netbeans is javadoc as a mouse tooltip - see 
http://www.netbeans.org/issues/show_bug.cgi?id=95691
Comment 13 ifnu 2007-03-13 11:31:04 UTC
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
Comment 14 terstyne 2007-03-24 14:48:41 UTC
Eclipse doesn't show every single bit of file information on its editor window
tabs. Eclipse allows the user to change this functionality
Comment 15 elishae 2009-01-22 07:11:55 UTC
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?


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo