cannot drag a file [message #154663] |
Wed, 31 May 2006 16:43  |
Eclipse User |
|
|
|
Originally posted by: rcohen.articque.com
Hi
I work with eclipse since 2 months now and still cannot find the way to simply drag a text
file from windows explorer to eclipse for editing... This is ridiculous ...
I am forced to use the menu open file, or to use another editor !!
Thanks for any info
Riccardo
|
|
|
|
|
|
|
Re: cannot drag a file [message #155910 is a reply to message #155740] |
Wed, 07 June 2006 10:15  |
Eclipse User |
|
|
|
Originally posted by: rcohen.articque.com
Thanks for your help
You're right I don't want eclipse to track the entire hard drive.
All I want is to drag any file to edit in Eclipse instead of opening another editor. It
seems impossible unless I re-write a fileopen plugin which I'm not able to do for now. And
the solution of having a pseudo-project on a specific folder is not acceptable, my text,
temp etc. may be anywhere. (sometimes I use the current open ide to modify some things
that are totally unrelated, just to avoid opening another editor)
I really do not understand this limit, in particular if you know that the menu file/open
work for all files in the disk... The only thing we have to do is to connect a drag
operation with an open function, and really if I knew how to program Eclipse I would
definitively do it !
:)
Eric Rizzo wrote:
> Riccardo Cohen wrote:
>> Thanks for your answer.
>>
>> I understand and appreciate the project orientation of eclipse.
>> But in fact I cannot understand why file dragging is not possible
>> since you can open any file in the disk with the menu file/open.
>>
>> I have all source of the project in the project directory, of course.
>> But I have also some passwords in another place, some tempory notes in
>> another, some data files are placed somewhere else etc.
>> Eclipse oblige me to have another text editor like Notepad++ or
>> Ultraedit always open ! this is quite annoying.
>>
>>
>> I tried to add a new simple project but I cannot find the way to
>> "link" the location C:\ to this project. I tried with a java project
>> and it refuses to add C:\ (C:\ is not a valid location for a linked
>> resource) in the source folders.
>
> Eclipse smartly refuses to let you create a linked resource at the root
> of a drive - because Eclipse indexes and tracks all directories in all
> projects, that would cause it to track your entire hard drive contents -
> not something you probably want it trying to do.
> You'll need to create links to each directory where you have files that
> you want to edit with Eclipse. If they are somewhat organized it
> shouldn't be too much trouble. Alternatively, you could simply either
> move those files into a simple project in your Eclipse workspace or
> create a new project that is rooted elsewhere on your hard drive (not in
> the workspace directory).
>
> Hope this helps,
> Eric
--
Très cordialement,
Riccardo Cohen
ligne directe : 02-47-49-63-24
-------------------------------------------
Articque
http://www.articque.com
Moulin des Roches
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49
|
|
|
Powered by
FUDForum. Page generated in 0.14505 seconds