Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » What is the hot key to copy the whole line in Eclipse?
What is the hot key to copy the whole line in Eclipse? [message #191082] Wed, 31 January 2007 15:35 Go to next message
Eclipse UserFriend
Originally posted by: www.nospam.net

Hi,

I am wondering what is the hot key is for copying the whole line in Eclipse?

I know Ctr-D deletes the whole line. How about copying?

Thank you.
Re: What is the hot key to copy the whole line in Eclipse? [message #191097 is a reply to message #191082] Wed, 31 January 2007 15:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMMdaniel.gmail.com

Ctrl-Shift-L ;)


You may try Ctrl-Alt-Down and Ctrl-Alt-Up, however it seems there is a
bug, because those shortcuts dont work in 3.3.

--
Chris
Re: What is the hot key to copy the whole line in Eclipse? [message #191104 is a reply to message #191097] Wed, 31 January 2007 15:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMMdaniel.gmail.com

> bug, because those shortcuts dont work in 3.3.

and they does not work because of:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162524

--
Chris
Re: What is the hot key to copy the whole line in Eclipse? [message #191112 is a reply to message #191097] Wed, 31 January 2007 15:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: www.nospam.net

Krzysztof Daniel wrote:
> Ctrl-Shift-L ;)
>

No. It opens the hot key menu. Like you said below, I have tried
Ctrl-Alt-Down, but it does not work either.

>
> You may try Ctrl-Alt-Down and Ctrl-Alt-Up, however it seems there is a
> bug, because those shortcuts dont work in 3.3.
>
> --
> Chris
>
Re: What is the hot key to copy the whole line in Eclipse? [message #191185 is a reply to message #191112] Wed, 31 January 2007 20:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

www uitte de volgende tekst op 01/31/2007 04:50 PM:
> Krzysztof Daniel wrote:
>> Ctrl-Shift-L ;)
>>
>
> No. It opens the hot key menu.

How come that doesn’t surprise me? Sometimes, you have to learn to read
between the lines. Like, the smiley.

> Like you said below, I have tried
> Ctrl-Alt-Down, but it does not work either.

Ctrl-Alt-Down/Up moves the current line up/down, doing some fancy things
with indentation.

H.

--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
www.lieverleven.be
http://aouw.org
http://catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFFwPzhe+7xMGD3itQRAszTAJ4ni2FhxZk/T2o8oF3Fd73HWrFu1QCc C+TK
2HfZOWUnwtkbpgPwmLqt90M=
=O4gL
-----END PGP SIGNATURE-----
Re: What is the hot key to copy the whole line in Eclipse? [message #191247 is a reply to message #191185] Wed, 31 January 2007 23:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Hendrik Maryns wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> NotDashEscaped: You need GnuPG to verify this message
>
> www uitte de volgende tekst op 01/31/2007 04:50 PM:
>
>>Krzysztof Daniel wrote:
>>
>>>Ctrl-Shift-L ;)
>>>
>>
>>No. It opens the hot key menu.
>
>
> How come that doesn’t surprise me? Sometimes, you have to learn to read
> between the lines. Like, the smiley.
>
>
>>Like you said below, I have tried
>>Ctrl-Alt-Down, but it does not work either.
>
>
> Ctrl-Alt-Down/Up moves the current line up/down, doing some fancy things
> with indentation.
>
> H.
>

I've been trying to figure out how to select the whole line since I started using Eclipse a month ago.

Still haven't figured it out.
Re: What is the hot key to copy the whole line in Eclipse? [message #191270 is a reply to message #191247] Thu, 01 February 2007 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nugaee.SPAMtlen.pl

DemonDuck wrote:
> I've been trying to figure out how to select the whole line since I
> started using Eclipse a month ago.
>
> Still haven't figured it out.

End -> Shift+Home
Home -> Shift+End

is such a big problem ? ;)

bartek michalik
Re: What is the hot key to copy the whole line in Eclipse? [message #191385 is a reply to message #191185] Thu, 01 February 2007 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: www.nospam.net

Hendrik Maryns wrote:

>
> How come that doesn’t surprise me? Sometimes, you have to learn to read
> between the lines. Like, the smiley.
>

>
> Ctrl-Alt-Down/Up moves the current line up/down, doing some fancy things
> with indentation.
>
> H.
>

I guess we all need to learn reading!

Like I said, in my hand, Ctrl-Alt-Down does not work. The other person
said the it is buggy in the current version. Did you read it?

"
You may try Ctrl-Alt-Down and Ctrl-Alt-Up, however it seems there is a
bug, because those shortcuts dont work in 3.3.

--
Chris
"
Re: What is the hot key to copy the whole line in Eclipse? [message #191455 is a reply to message #191270] Thu, 01 February 2007 18:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Bartosz Michalik wrote:
> DemonDuck wrote:
>
>> I've been trying to figure out how to select the whole line since I
>> started using Eclipse a month ago.
>>
>> Still haven't figured it out.
>
>
> End -> Shift+Home
> Home -> Shift+End
>
> is such a big problem ? ;)
>
> bartek michalik

In most visual editors that I have used -- like the one I use to type this message -- three mouse clicks will select the whole line. Which then can be dragged to another location. Real handy gesture...

Can't do that in Java editor or VE. That's what I mean.

Alternatively, clicking in one spot on the line and then using a key stroke combination to select the whole line would be good if one could then click on the line and drag it.

The way you describe is more primitive than vi in an x-term.

Surely, Eclipse can do better than that.
Re: What is the hot key to copy the whole line in Eclipse? [message #191606 is a reply to message #191455] Fri, 02 February 2007 12:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMMdaniel.gmail.com

> this message -- three mouse clicks will select the whole line. Which
> then can be dragged to another location. Real handy gesture...

And what about alt-up and alt-down? also on multiline selection?

--
Chris
Re: What is the hot key to copy the whole line in Eclipse? [message #191614 is a reply to message #191385] Fri, 02 February 2007 13:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMMdaniel.gmail.com

Actually I have posted reason why it does not work right after
proposition, just a few things to do and it works for me ;).

To be clear:
Alt-Up/Down moves lines
Ctrl-Alt-Up/Down copy current line and places it before/after the
current one.

Cheers
--
Chris
Re: What is the hot key to copy the whole line in Eclipse? [message #191638 is a reply to message #191614] Fri, 02 February 2007 18:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Krzysztof Daniel wrote:
> Actually I have posted reason why it does not work right after
> proposition, just a few things to do and it works for me ;).
>
> To be clear:
> Alt-Up/Down moves lines
> Ctrl-Alt-Up/Down copy current line and places it before/after the
> current one.
>
> Cheers
> --
> Chris

That's not what we are talking about....
Re: What is the hot key to copy the whole line in Eclipse? [message #191944 is a reply to message #191638] Sat, 03 February 2007 17:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMdaniel.gmail.com

DemonDuck wrote:
> That's not what we are talking about....

I cannot agree. My personal opinion is, that those key shortcuts cover
copying line and moving it into different place of method/class.

--
Chris
Re: What is the hot key to copy the whole line in Eclipse? [message #191951 is a reply to message #191944] Sat, 03 February 2007 18:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Krzysztof Daniel wrote:
> DemonDuck wrote:
>
>> That's not what we are talking about....
>
>
> I cannot agree. My personal opinion is, that those key shortcuts cover
> copying line and moving it into different place of method/class.
>
> --
> Chris

I tell you that's not what I want -- and you tell me it is...
Re: What is the hot key to copy the whole line in Eclipse? [message #192249 is a reply to message #191455] Tue, 06 February 2007 16:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

DemonDuck wrote:
> In most visual editors that I have used -- like the one I use to type
> this message -- three mouse clicks will select the whole line. Which
> then can be dragged to another location. Real handy gesture...
>
> Can't do that in Java editor or VE. That's what I mean.
> Alternatively, clicking in one spot on the line and then using a key
> stroke combination to select the whole line would be good if one could
> then click on the line and drag it.

Drag-and-drop text editing is an open enhancement request in Bugzilla.
I'm not familiar with the details nor why it has not been implemented,
but I'm sure there are good reasons and a healthy discussion (to which
you can contribute) if you find the relevant Bugzilla report:
http://bugs.eclipse.org

Hope this helps,
Eric
Re: What is the hot key to copy the whole line in Eclipse? [message #192263 is a reply to message #192249] Tue, 06 February 2007 16:58 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Eric Rizzo wrote:

> DemonDuck wrote:
>
>> In most visual editors that I have used -- like the one I use to type
>> this message -- three mouse clicks will select the whole line. Which
>> then can be dragged to another location. Real handy gesture...
>>
>> Can't do that in Java editor or VE. That's what I mean.
>> Alternatively, clicking in one spot on the line and then using a key
>> stroke combination to select the whole line would be good if one
>> could then click on the line and drag it.
>
>
> Drag-and-drop text editing is an open enhancement request in Bugzilla.

This will be in M5.

Dani

> I'm not familiar with the details nor why it has not been implemented,
> but I'm sure there are good reasons and a healthy discussion (to which
> you can contribute) if you find the relevant Bugzilla report:
> http://bugs.eclipse.org
>
> Hope this helps,
> Eric
Re: What is the hot key to copy the whole line in Eclipse? [message #192420 is a reply to message #192263] Wed, 07 February 2007 04:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Daniel Megert wrote:
> Eric Rizzo wrote:
>
>> DemonDuck wrote:
>>
>>> In most visual editors that I have used -- like the one I use to type
>>> this message -- three mouse clicks will select the whole line. Which
>>> then can be dragged to another location. Real handy gesture...
>>>
>>> Can't do that in Java editor or VE. That's what I mean.
>>> Alternatively, clicking in one spot on the line and then using a key
>>> stroke combination to select the whole line would be good if one
>>> could then click on the line and drag it.
>>
>>
>>
>> Drag-and-drop text editing is an open enhancement request in Bugzilla.
>
>
> This will be in M5.
>
> Dani
>
>> I'm not familiar with the details nor why it has not been implemented,
>> but I'm sure there are good reasons and a healthy discussion (to which
>> you can contribute) if you find the relevant Bugzilla report:
>> http://bugs.eclipse.org
>>
>> Hope this helps,
>> Eric

uhhh...what's M5 he asked sheepishly....
Re: What is the hot key to copy the whole line in Eclipse? [message #192436 is a reply to message #192420] Wed, 07 February 2007 07:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMMdaniel.gmail.com

M5 is 5th Milestone of Eclipse. It is currently being tested.
If you look here
http://download.eclipse.org/eclipse/downloads/
you can see that milestone is released every ca 6 weeks, so M5 should be
available in 2 :)

Regards,
Chris
Re: What is the hot key to copy the whole line in Eclipse? [message #192559 is a reply to message #192436] Wed, 07 February 2007 18:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

Krzysztof Daniel wrote:
> M5 is 5th Milestone of Eclipse. It is currently being tested.
> If you look here
> http://download.eclipse.org/eclipse/downloads/
> you can see that milestone is released every ca 6 weeks, so M5 should be
> available in 2 :)
>
> Regards,
> Chris
Thanks for the reply Chris...

I'm using 3.2.1 right now. I am reluctant to spend the time and energy to keep my installation current with each new "Stream Stable Build".

I will wait for the next "Latest Release" to upgrade. One can spend a lot of time trying to keep current...
Re: What is the hot key to copy the whole line in Eclipse? [message #192604 is a reply to message #192559] Wed, 07 February 2007 23:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

DemonDuck wrote:
> Krzysztof Daniel wrote:
>> M5 is 5th Milestone of Eclipse. It is currently being tested.
>> If you look here
>> http://download.eclipse.org/eclipse/downloads/
>> you can see that milestone is released every ca 6 weeks, so M5 should
>> be available in 2 :)
>>
>> Regards,
>> Chris
> Thanks for the reply Chris...
>
> I'm using 3.2.1 right now. I am reluctant to spend the time and energy
> to keep my installation current with each new "Stream Stable Build".
> I will wait for the next "Latest Release" to upgrade. One can spend a
> lot of time trying to keep current...

That is definitely true. Just so you know, the M-builds are generally
very stable and reliable; you might want to consider getting M5 since it
will have a particular feature you are looking for. That doesn't mean
you have to keep it up to date, you can just use it until the GA release
of 3.3.
If you do that, keep in mind two things:
a) Don't install 3.3M5 (or any version) on top of (in the same
directory) as your existing 3.2 installation - put it in a separate
location.
b) Once you open your existing workspace with 3.3, it will no longer be
compatible with 3.2. To mitigate this, back up your workspace before
opening it with 3.3. That way you can always go back to using 3.2 if you
don't like 3.3. You can also try copying the workspace to a new location
and opening that copy with 3.3, but that can cause some minor problems
if there are absolute paths stored anywhere in the workspace.

Hope this helps,
Eric
Re: What is the hot key to copy the whole line in Eclipse? [message #192683 is a reply to message #192604] Thu, 08 February 2007 11:40 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Eric Rizzo wrote:

> DemonDuck wrote:
>
>> Krzysztof Daniel wrote:
>>
>>> M5 is 5th Milestone of Eclipse. It is currently being tested.
>>> If you look here
>>> http://download.eclipse.org/eclipse/downloads/
>>> you can see that milestone is released every ca 6 weeks, so M5
>>> should be available in 2 :)
>>>
>>> Regards,
>>> Chris
>>
>> Thanks for the reply Chris...
>>
>> I'm using 3.2.1 right now. I am reluctant to spend the time and
>> energy to keep my installation current with each new "Stream Stable
>> Build". I will wait for the next "Latest Release" to upgrade. One
>> can spend a lot of time trying to keep current...
>
>
> That is definitely true. Just so you know, the M-builds are generally
> very stable and reliable; you might want to consider getting M5 since
> it will have a particular feature you are looking for.

Just to clarify: the milestone builds (like 3.3 M5) are called stable
builds and hence S-builds. M-builds are maintenance builds, see
http://eclipsebuildserv.ottawa.ibm.com/downloads/master/down loads/build_types.html
for more details.

Dani

> That doesn't mean you have to keep it up to date, you can just use it
> until the GA release of 3.3.
> If you do that, keep in mind two things:
> a) Don't install 3.3M5 (or any version) on top of (in the same
> directory) as your existing 3.2 installation - put it in a separate
> location.
> b) Once you open your existing workspace with 3.3, it will no longer
> be compatible with 3.2. To mitigate this, back up your workspace
> before opening it with 3.3. That way you can always go back to using
> 3.2 if you don't like 3.3. You can also try copying the workspace to a
> new location and opening that copy with 3.3, but that can cause some
> minor problems if there are absolute paths stored anywhere in the
> workspace.
>
> Hope this helps,
> Eric
Re: What is the hot key to copy the whole line in Eclipse? [message #192834 is a reply to message #192683] Thu, 08 February 2007 18:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwarner.uneedspeed.net

I learn more every day. Thanks guys....

Daniel Megert wrote:
> Eric Rizzo wrote:
>
>> DemonDuck wrote:
>>
>>> Krzysztof Daniel wrote:
>>>
>>>> M5 is 5th Milestone of Eclipse. It is currently being tested.
>>>> If you look here
>>>> http://download.eclipse.org/eclipse/downloads/
>>>> you can see that milestone is released every ca 6 weeks, so M5
>>>> should be available in 2 :)
>>>>
>>>> Regards,
>>>> Chris
>>>
>>>
>>> Thanks for the reply Chris...
>>>
>>> I'm using 3.2.1 right now. I am reluctant to spend the time and
>>> energy to keep my installation current with each new "Stream Stable
>>> Build". I will wait for the next "Latest Release" to upgrade. One
>>> can spend a lot of time trying to keep current...
>>
>>
>>
>> That is definitely true. Just so you know, the M-builds are generally
>> very stable and reliable; you might want to consider getting M5 since
>> it will have a particular feature you are looking for.
>
>
> Just to clarify: the milestone builds (like 3.3 M5) are called stable
> builds and hence S-builds. M-builds are maintenance builds, see
> http://eclipsebuildserv.ottawa.ibm.com/downloads/master/down loads/build_types.html
> for more details.
>
> Dani
>
>> That doesn't mean you have to keep it up to date, you can just use it
>> until the GA release of 3.3.
>> If you do that, keep in mind two things:
>> a) Don't install 3.3M5 (or any version) on top of (in the same
>> directory) as your existing 3.2 installation - put it in a separate
>> location.
>> b) Once you open your existing workspace with 3.3, it will no longer
>> be compatible with 3.2. To mitigate this, back up your workspace
>> before opening it with 3.3. That way you can always go back to using
>> 3.2 if you don't like 3.3. You can also try copying the workspace to a
>> new location and opening that copy with 3.3, but that can cause some
>> minor problems if there are absolute paths stored anywhere in the
>> workspace.
>>
>> Hope this helps,
>> Eric
Re: What is the hot key to copy the whole line in Eclipse? [message #192924 is a reply to message #192683] Thu, 08 February 2007 21:34 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Daniel Megert wrote:
> Eric Rizzo wrote:
>
>> DemonDuck wrote:
>>
>>> Krzysztof Daniel wrote:
>>>
>>>> M5 is 5th Milestone of Eclipse. It is currently being tested.
>>>> If you look here
>>>> http://download.eclipse.org/eclipse/downloads/
>>>> you can see that milestone is released every ca 6 weeks, so M5
>>>> should be available in 2 :)
>>>>
>>>> Regards,
>>>> Chris
>>>
>>> Thanks for the reply Chris...
>>>
>>> I'm using 3.2.1 right now. I am reluctant to spend the time and
>>> energy to keep my installation current with each new "Stream Stable
>>> Build". I will wait for the next "Latest Release" to upgrade. One
>>> can spend a lot of time trying to keep current...
>>
>>
>> That is definitely true. Just so you know, the M-builds are generally
>> very stable and reliable; you might want to consider getting M5 since
>> it will have a particular feature you are looking for.
>
> Just to clarify: the milestone builds (like 3.3 M5) are called stable
> builds and hence S-builds. M-builds are maintenance builds, see
> http://eclipsebuildserv.ottawa.ibm.com/downloads/master/down loads/build_types.html
> for more details.

Hmm, I never knew that nomenclature existed. Whoever decided to use the
Mx name for builds in light of the fact that "M-build" is a name that
means something else, should be beaten with a cold fish. :-)

Eric
Previous Topic:unable to import javax.mail.* into java files in Eclipse
Next Topic:Automatic Perspective Switching
Goto Forum:
  


Current Time: Tue Sep 24 23:31:18 GMT 2024

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

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

Back to the top