Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / February 2006

Tip: Looking for answers? Try searching our database.

eclipse editor

Thread view: 
Dormilón - 15 Feb 2006 05:22 GMT
When do we have drag&drop like in the simple Notepad?.
It's incredible.
Robert Klemme - 15 Feb 2006 09:39 GMT
> When do we have drag&drop like in the simple Notepad?.
> It's incredible.

What kind of silly question is this?  Eclipse *does* d&d - can you be more
specific?

   robert
Dormilón - 15 Feb 2006 15:06 GMT
>> When do we have drag&drop like in the simple Notepad?.
>> It's incredible.
[quoted text clipped - 3 lines]
>
>    robert

In the text editor. I like to move or copy text code without using the
clipboard
Thomas Schodt - 15 Feb 2006 15:28 GMT
>>>When do we have drag&drop like in the simple Notepad?.
>>>It's incredible.
[quoted text clipped - 6 lines]
> In the text editor. I like to move or copy text code without using the
> clipboard

how do you do that in notepad - without using the clipboard?
Oliver Wong - 15 Feb 2006 15:42 GMT
>>>>When do we have drag&drop like in the simple Notepad?.
>>>>It's incredible.
[quoted text clipped - 7 lines]
>
> how do you do that in notepad - without using the clipboard?

   Indeed. I tried it just now, and was unable to drag and drop arbitrary
pieces of text in NotePad.

   However, this feature DOES exist in Visual Studio -- the 2003 .NET
edition at least.

   - Oliver
Dormilón - 15 Feb 2006 17:15 GMT
>>>>When do we have drag&drop like in the simple Notepad?.
>>>>It's incredible.
[quoted text clipped - 9 lines]
>
> how do you do that in notepad - without using the clipboard?

Sorry, wordpad. And many others.
Oliver Wong - 15 Feb 2006 17:41 GMT
>>>>>When do we have drag&drop like in the simple Notepad?.
>>>>>It's incredible.
>
> Sorry, wordpad. And many others.

   Maybe no one had asked for that feature yet. While I've seen some
co-workers use that feature in, say, Visual Studio, I've never felt the need
to use for it, and so I haven't "missed" it in Eclipse. Try filing a RFE
(Request For Enhancement) at the Eclipse forums.

   - Oliver
Robert Klemme - 16 Feb 2006 10:38 GMT
>>>>> When do we have drag&drop like in the simple Notepad?.
>>>>> It's incredible.
[quoted text clipped - 11 lines]
>
> Sorry, wordpad. And many others.

Note that you can use D&D with the outline view and the navigation and
package views if you want to reorder methods for example.  Also, there are
a lot of refactoring functions.  Personally I never felt the need for D&D
in Eclipse.  Maybe you need to explore more of its features?

Cheers

   robert
dingbat@codesmiths.com - 16 Feb 2006 15:14 GMT
> Sorry, wordpad. And many others.

I've used it (Visual Studio ?) and _hated_ it.

Sourcecode flies around when you move the mouse by accident. Horrible
business.

It might have a place in some sort of network diagramming tool, but
most of my time with a text editor is spent typing new stuff, not
re-arranging. The downside of an unwanted change soon outweighs any
possible convenience of slightly quicker moves when I do need it.
Roedy Green - 16 Feb 2006 14:14 GMT
On Wed, 15 Feb 2006 15:28:09 +0000, Thomas Schodt
<spamtrap@xenoc.demon.co.uk.invalid> wrote, quoted or indirectly
quoted someone who said :

>how do you do that in notepad - without using the clipboard?

I think the confusion comes between how it works inside vs how it
looks to the end user.

Inside, some sort of clipboard or multi-clipboard pretty well has to
be conceptualised to track the thing in the process of  being moved.
It is necessarily at least a two-step operation.

Outside you might copy/paste or drag/drop.  I think the OP thinks of
the second as being done without a clipboard.

In general, I find left-mouse drag and drop is a pain in the behind. I
only ever use right mouse style myself.

1. it is never fully clear if you will get a move,  copy or clone in
place.

2. it seems to turn itself on by accident most of the time creating
unwanted shortcuts or scrambling text.  I wish I could turn it off
entirely in TopStyle where is always not what I intended.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Oliver Wong - 16 Feb 2006 14:38 GMT
> On Wed, 15 Feb 2006 15:28:09 +0000, Thomas Schodt
> <spamtrap@xenoc.demon.co.uk.invalid> wrote, quoted or indirectly
[quoted text clipped - 8 lines]
> be conceptualised to track the thing in the process of  being moved.
> It is necessarily at least a two-step operation.

   "Using some sort of internal clipboard" might have some very real,
perceivable side effects that "Using *the* clipboard" doesn't have (and/or
vice versa). For example, let's say I cut a string "foo" into *the*
clipboard (using Control-X), and then selecting a text "bar" and drag it
around.

   If the dragging uses an internal clipboard, "foo" is still in *the*
clipboard available for me to use, but if dragging uses *the* clipboard,
then my string "foo" is lost forever.

   - Oliver
larsfrommars - 16 Feb 2006 09:47 GMT
In that context: I find it very useful to select a few lines of code
then ALT+UP and ALT+DOWN
to move them around.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.