Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] CTRL+C codebase

Here's the corresponding enhancement request: https://bugs.eclipse.org/23625.

Dani



From:        "faraz.uic@xxxxxxxxx" <faraz.uic@xxxxxxxxx>
To:        pde-dev@xxxxxxxxxxx
Date:        24.08.2018 09:28
Subject:        Re: [pde-dev] CTRL+C codebase
Sent by:        pde-dev-bounces@xxxxxxxxxxx




Thank you Karsten for giving me direction. I will definitely look into it. 

Jonah is correct. That is where I first saw and fell in love with it. 

No need to highlight the whole long line, just click on the line, press CTRL + C, done. 

I have successfully done it thru autohotkey, I know nobody asked, but if anyone is interested to know, here is it. 

It is binded to left window key + c

<#c::
MouseGetPos mousePosX,mousePosY ; Get mouse position
insertionPosX := A_CaretX ; Get insertion position X
        insertionPosY := A_CaretY ; Get insertion position Y
Send {Home}{Shift down}{End}{Shift up}^c ; Copy the line from beginning to end
MouseMove, insertionPosX, insertionPosY, 0 ; move mouse to previous insertion position
Click ; click (basically to restore insertion position)
MouseMove, mousePosX, mousePosY, 0 ; restore mouse position
Return ; finish

On Fri, Aug 24, 2018 at 1:11 AM Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
> Please mention other editors that implement the same behaviour.

The new kid on the block: VS Code :-)

~~~
Jonah Graham
Kichwa Coders Ltd.

www.kichwacoders.com


On Fri, 24 Aug 2018 at 06:48, Karsten Thoms <karsten.thoms@xxxxxxxxx> wrote:

You may have a look at org.eclipse.ui.actions.TextActionHandler.CopyActionHandler.

Before you start you should create an enhancement request in bugzilla. I’m not completely sure if a behaviour change here is acceptable. Please mention other editors that implement the same behaviour.

> Am 24.08.2018 um 00:57 schrieb
faraz.uic@xxxxxxxxx:
>
> Hello everyone,
>
> Can someone please point me where CTRL + C code base is?
> I want to enhance CTRL + C action.
>
> This enhancement would do this:
>
> Click on any line (no need to highlight the line), press CTRL + C, it will copy the whole line from start to end.
>
> Any help is really appreciated. Also please let me know if someone else is working on the similar behavior already. 
>
>
>
> _______________________________________________
> pde-dev mailing list
>
pde-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>
https://dev.eclipse.org/mailman/listinfo/pde-dev

_______________________________________________
pde-dev mailing list

pde-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/pde-dev

_______________________________________________
pde-dev mailing list

pde-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/pde-dev_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/pde-dev



Back to the top