eclipse-instasearch icon indicating copy to clipboard operation
eclipse-instasearch copied to clipboard

Change key-bind?

Open manavortex opened this issue 8 years ago • 2 comments

Hey there,

I love this plugin - I've been dying to find a Notepad++-like "Find in project"-function for ages. However, I'd like to change the key bind to Ctrl+Shift+F (yes, I've been beating my Eclipse to work more like Notepad++...) Is this possible? I don't mind hacking a file if I have to, just point me to the right location.

Thank you for your work!

manavortex avatar Mar 14 '17 08:03 manavortex

Hi!

It might be possible to change the key binding via Eclipse preferences. If not, I think the default one is defined in here https://github.com/ajermakovics/eclipse-instasearch/blob/master/instasearch/plugin.xml#L204 but it's been a while so I might be mistaken.

ajermakovics avatar Mar 14 '17 13:03 ajermakovics

Hi,

We could change the key binding of instasearch from M4 to M1

M1 is the COMMAND key on MacOS X, and the CTRL key on most other platforms .... M4 is the CTRL key on MacOS X, and is undefined on other platforms

But changing the current key bind to M4+M3+I results to a conflict with other key binding. which I propose to change it or add another key modifier which results to M1+M2+M3+I.

What do you think?

https://github.com/ajermakovics/eclipse-instasearch/blob/cdd25713f7e092579667992ebcc931d9c1639f4b/instasearch/plugin.xml#L190-L197

zaerald avatar Sep 29 '18 18:09 zaerald