CTRL+ALT+DOWN/UP does not duplicates line in Spring Tool Suite, how to fix it?

Spring Tool Suite though based on Eclipse, does not duplicates line using the usual CTRL+ALT+DOWN/UP key combination. I can still see in the key binding that this key combination says Duplicates the selected lines and moves the selection to the copy When says Editing Text, tried changing it to Editing Java, HTML, etc, but that all did not help.

How do get the key combination back, can I import it from existing Eclipse IDE as is ?

Thanks.

Answers


Run this commands to disable the shurtcuts from gnome that is disabling the shurtcuts from eclipse

$ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['']"

$ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['']"

Need Your Help

How should partials be loaded when they are dependent on business logic?

php model-view-controller view controller partials

I'm using the term "partial" to refer to a small section of presentational code which is repeated on many views. For example, a sidebar. In vanilla PHP, where the business and presentation logic is...

Store a variable number of objects of a variable number of derived class and deep copy them

c++ templates polymorphism smart-pointers deep-copy

I'm a bit stumped about how you would achieve something like that in C++. I have the feeling it might have to do with my architecture.