Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How can I make Eclipse my "standard Java Editor"?
How can I make Eclipse my "standard Java Editor"? [message #32519] Wed, 14 May 2003 17:09 Go to next message
Eclipse UserFriend
[I hope this is the correct group.]

How can I make Eclipse my "standard Java Editor" (under Windows)?

I.e. I would like to doubleclick on a .java file in the Windows explorer and
the selected file should be opened in the (possibly already running) Eclipse
instance. Just changing the "File association" under Windows did not work.

In an extension to this: is it possible to open a file in Eclipse "from the
outside" and navigate to a certain line and/or select a certain portion of
text (i.e. is there some kind of "automation" facility)? (Background: I have
an (external) tool that searches for certain things in Java files and when
found it displays them "in your favorite editor").

Thanks,

Udo Borkowski
Re: How can I make Eclipse my "standard Java Editor"? [message #32554 is a reply to message #32519] Wed, 14 May 2003 17:16 Go to previous messageGo to next message
Eclipse UserFriend
ub wrote:
> [I hope this is the correct group.]
>
> How can I make Eclipse my "standard Java Editor" (under Windows)?
>
> I.e. I would like to doubleclick on a .java file in the Windows explorer and
> the selected file should be opened in the (possibly already running) Eclipse
> instance. Just changing the "File association" under Windows did not work.

Since Eclipse cannot open files outside of your workspace, this isn't
currently supported. From within Eclipse maybe you could hack around
this limitation by copying the file into the workspace and then opening
it. From outside Eclipse, you're probably stuck.

One of the items in the Eclipse 2.2 (which looks like it will become
3.0) plan is "Allow editors to open files outside workspace". Read all
about it here:

http://www.eclipse.org/eclipse/development/eclipse_project_p lan_2_2.html

Jeff
Re: How can I make Eclipse my "standard Java Editor"? [message #32622 is a reply to message #32554] Wed, 14 May 2003 19:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mkn.example.com

While waiting for 3.0 take a look at the filedrag plugin:
http://sourceforge.net/projects/sunshade/

It will allow you to drag files from outside the workspace into
Eclipse. Quite nice.

Hope this helps

/mkn


Jeff Hunter wrote:
> ub wrote:
>
>> [I hope this is the correct group.]
>>
>> How can I make Eclipse my "standard Java Editor" (under Windows)?
>>
>> I.e. I would like to doubleclick on a .java file in the Windows
>> explorer and
>> the selected file should be opened in the (possibly already running)
>> Eclipse
>> instance. Just changing the "File association" under Windows did not
>> work.
>
>
> Since Eclipse cannot open files outside of your workspace, this isn't
> currently supported. From within Eclipse maybe you could hack around
> this limitation by copying the file into the workspace and then opening
> it. From outside Eclipse, you're probably stuck.
>
> One of the items in the Eclipse 2.2 (which looks like it will become
> 3.0) plan is "Allow editors to open files outside workspace". Read all
> about it here:
>
> http://www.eclipse.org/eclipse/development/eclipse_project_p lan_2_2.html
>
> Jeff
>
Re: How can I make Eclipse my "standard Java Editor"? [message #32835 is a reply to message #32622] Thu, 15 May 2003 00:42 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

It also adds a File > Open... menu item. Even nicer.

Bob

"mkn" <mkn@example.com> wrote in message news:b9uktt$2fi$1@rogue.oti.com...
> While waiting for 3.0 take a look at the filedrag plugin:
> http://sourceforge.net/projects/sunshade/
>
> It will allow you to drag files from outside the workspace into
> Eclipse. Quite nice.
>
> Hope this helps
>
> /mkn
>
>
> Jeff Hunter wrote:
> > ub wrote:
> >
> >> [I hope this is the correct group.]
> >>
> >> How can I make Eclipse my "standard Java Editor" (under Windows)?
> >>
> >> I.e. I would like to doubleclick on a .java file in the Windows
> >> explorer and
> >> the selected file should be opened in the (possibly already running)
> >> Eclipse
> >> instance. Just changing the "File association" under Windows did not
> >> work.
> >
> >
> > Since Eclipse cannot open files outside of your workspace, this isn't
> > currently supported. From within Eclipse maybe you could hack around
> > this limitation by copying the file into the workspace and then opening
> > it. From outside Eclipse, you're probably stuck.
> >
> > One of the items in the Eclipse 2.2 (which looks like it will become
> > 3.0) plan is "Allow editors to open files outside workspace". Read all
> > about it here:
> >
> > http://www.eclipse.org/eclipse/development/eclipse_project_p lan_2_2.html
> >
> > Jeff
> >
>
Previous Topic:Debugging J2ME/MIDP applications
Next Topic:problem about ant & cvs
Goto Forum:
  


Current Time: Wed Apr 16 14:31:44 EDT 2025

Powered by FUDForum. Page generated in 0.03771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top