Thursday, September 02, 2004

Eclipse annoyances...

For all the wonderful things it does, Eclipse is aggravating about other things. . For example

Code completion not really helpful
Code completion is nice if it is a little intelligent about it. For example, if I type

Monkey m = (M

Pressing CTRL+SPACE should automatically populate Monkey as the default for a cast operation instead of giving me a list of gazillion things that it knows about starting with M.

Paste doesn't work if you have a code segmet folded
Say, you have a block of text in the clipboard buffer. You want to paste it thusly

-- Desired paste location ---

--- Next line is the beginning of a folded section ---

It won't work! The first paste operation (CTRL+V: on Windows) unfolds the folded section. (Pray Why?). A second paste operation will then actually paste it.

Aaaargh! Wherefore art thou IDEA?


  1. Monkey m = (M...

    You mean you have to cast things in eclipse? How very primitive.

  2. What if I wanted to do

    Monkey m = (Marmoset) somePrimate // Marmoset is a subclass of Monkey

    Not sure why I'd want to do such a thing, but it's certainly legal. Similarly if Monkey is an interface then you could cast either to an extending interface or an implementing class.

    If Monkey is a final class then it probably should auto-populate, but for anthing else (non-final class, or interface) then there are other possibilities. The list has Monkey pushed to the top anyway so it's only one extra keypress.

    The fold thing sounds a bit lame though. I guess if you paste *into* a folded section it should expand first to show you what you're going to do - maybe the code that detects if the cursor is inside a fold is a bit broken.

  3. I haven't figured out how to enable these yet...

    In Eclipse, I would like to be able to use CTRL+TAB and CTRL+SHIFT+TAB to move between the current editors. I would also like to be able to use ALT+1 to ALT+9 to move between editor windows #1 through #9.

    Finally, when is Eclipse going to get built in intellisense for the internal XML editor?


Tweety thoughts

    follow me on Twitter