Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse editor - spliting the view

 
Javoso Torso
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

you probably know it from other IDEs:
you split the editor view in (at least) two and can see different parts of the same file in one view. Very often very useful.

Has Eclipse 3.1 this possibility (or any plugin)?

Thanks
[ June 28, 2006: Message edited by: Javoso Torso ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34384
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Javoso,
Yes, you can split the view in Eclipse. Open two Java files in the editor. Then drag one of them to the pane on the bottom (where the console and task list are.) Eclipse will then split the main Java area for your two files.
 
Javoso Torso
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne,

Also a nice feature.
But what I was looking for is a "split" of the same file

Also possible?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34384
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh. That I don't know how to do. Which isn't to say it can or can't be done.
 
Hao Lac
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not too sure about Eclipse 3.1, but in 3.5 all you have to do is go to the Window menu, select New Editor, left click (do not release) on the newly created tab, drag to the bottom of the editor until you see a down arrow, and then release.

H. C. Lac
 
Javoso Torso
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks H. C. Lac,

That's correct. I also came to that solution some months ago...

The only caveat there is that you have the header and footer between both editors (compared to only a horizontal line in other IDE's).
But's better then not having the possibility.

Rgds,
Javoso
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic