atom-autocomplete-php icon indicating copy to clipboard operation
atom-autocomplete-php copied to clipboard

"Goto key" conflict

Open kamzata opened this issue 8 years ago • 2 comments

On Linux (KDE Plasma DE), shortcuts available for Goto key are already assigned. Both CMD + Left Click and CTRL + Left Click enable multiline selection function while ALT + Left Click is used by KDE to move the window. Of course I'd be able to change KDE shortcut binded to ALT key but I don't want to. Would be great if you could add something like Right ALT + Left Click.

kamzata avatar Sep 04 '17 03:09 kamzata

You can set you "goto key"; first add the option string from "packages/atom-autocomplete-php/lib/peekmo-php-atom-autocomplete.coffee" into gotoKey:enum, after, you need to add into isGotoKeyPressed event ('packages/atom-autocomplete-php/lib/goto/abstract-provider.coffee') for config the new "Goto key".

"packages" is the atom package folder.

cvonz avatar Sep 04 '17 17:09 cvonz

Thanks cvonz. The tough part seems to be what event return for Right ALT key since there's no event.altRightkey or something. Anyway, I can't still understand why both CMD + Left Click and CTRL + Left Click grab the same multiline selection function. Do you know if it is the same on Windows? I haven't tried yet.

kamzata avatar Sep 05 '17 03:09 kamzata