|
Re: Moving lines of code without doing cut and paste [message #1704196 is a reply to message #1704194] |
Sat, 08 August 2015 15:09 |
|
On 08/08/2015 08:46 AM, Rod Hittle wrote:
> Is there a way in Eclipse to move lines or even sections of come from
> one place to another (in the same source code) without having to cut and
> paste. I suspect there is not. I always found this very handy on the
> Mainframe using ISPF. I do have a PC version of ISPF but I would rather
> just stay right in Eclipse.
You can select lines, a block of code, then click and drag it.
|
|
|
|
|
Re: Moving lines of code without doing cut and paste [message #1704267 is a reply to message #1704211] |
Mon, 10 August 2015 02:54 |
|
On 08/08/2015 03:08 PM, Rod Hittle wrote:
> Thanks Russell.
> That is a lot better than cut and paste.
> Sadly, to me at least, not as handy as having line commands like ISPF
> does.
I'm not familiar with ISPF.
You also have Vrapper, a Vim plug-in. That's what I use because I like
power when I edit.
|
|
|
|
Re: Moving lines of code without doing cut and paste [message #1704869 is a reply to message #1704267] |
Mon, 10 August 2015 08:59 |
|
Hi,
to move line in the same file;, you can put the cursor on a line or select a block of code and then use ALT+Up and ALT + Down.
To Find all available shortcuts (and configure ones for some specific actions), you can go to Window->Prrferences and Then General->Keys
Regards,
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
|
|
|
Powered by
FUDForum. Page generated in 0.07143 seconds