Custom Key Actions in Eclipse

Today I have a question about Eclipse. I have been using this IDE for a very long time and I think it’s good, but last time I missed some functions ...

Is it possible to set some shortcut that will do something like:

Mark the text ( 'Hello world'), call the label ( Ctrl+T), and he will do something with this text - in the example, the text is added before and after the selected text ( $this->_('Hello world'))

?

Thanks for any sugestion!

+3
source share
1 answer

From this , it looks like you should implement your own command in the plugin. The process looks more active than just setting the menu selection.


, .

, , (PHP?), Java Eclipse .

, . Ctrl+Space . Java :

this.call(${word_selection});

, , "Hello, world", :

this.call("Hello, world");

( , , , .)

" " Window->Preferences.

+1

Source: https://habr.com/ru/post/1732975/


All Articles