This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes How to open a file in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How to open a file in eclipse " Watch "How to open a file in eclipse " New topic
Author

How to open a file in eclipse

sammy paul
Greenhorn

Joined: Jun 23, 2004
Posts: 3
If i want to open just a java file in eclipse, how to do that. I know eclipse is project based. What I want like in textpad file--open
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Originally posted by sammy paul:
If i want to open just a java file in eclipse, how to do that. I know eclipse is project based. What I want like in textpad file--open

Hi Sammy,

As you say Eclipse is project based. In order to open the file you need a project. This is kind of hard to get your head wrapped around but its worth it once you do.

Hope this helps!


TTFN,<br /> <br />-bd-<br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/0471449156/qid=1064343733/sr=2-1/ref=sr_2_1/002-8375300-3666449" target="_blank" rel="nofollow">Jakarta Pitfalls</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471146153/qid=1064343733/sr=1-2/ref=sr_1_2/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">J2EE AntiPatterns</a> | <a href="http://www.amazon.com/exec/obidos/tg/detail/-/0471462071/qid=1064343733/sr=1-3/ref=sr_1_3/002-8375300-3666449?v=glance&s=books" target="_blank" rel="nofollow">Mastering JavaServer Faces</a> | <a href="http://bill.dudney.net/roller/page/bill" target="_blank" rel="nofollow">Blog</a> | <a href="http://www.jroller.com/page/BillDudney" target="_blank" rel="nofollow">Eclipse Blog</a> | <a href="http://www.sourcebeat.com/TitleAction.do?id=2" target="_blank" rel="nofollow">Eclipse 3 Live</a>
Charles Hasegawa
Ranch Hand

Joined: May 22, 2003
Posts: 117
I thought they were going to add a feature to Eclipse that would allow users to open a java file in the editor - in sort of a default project. Did that functionality never make it into 3.0?
Bill Dudney
Author
Ranch Hand

Joined: Sep 05, 2003
Posts: 234
Hi Charles,

Thanks! you can do that in 3.0 M9 (not sure about previous)

File->Open External File
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Thank you very much.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to open a file in eclipse
 
Similar Threads
careated a Project in Eclipse, can't open it when I launch Eclipse the second time
Attaching Source in the Class file editor of Eclipse
Eclipse Automatically Loading files
war file
Eclipse JSP colors