在 Linux Mint 上使用 Eclipse 中的箭头键在调用层次结构中导航

Navigation in Call Hierarchy using arrow keys in Eclipse on Linux Mint

我正在尝试使用箭头键(左/右)在 Linux Mint 上的 Eclipse 中的 "call hierarchy view" 中导航。这在 Windows 上运行得很好 10. Linux 的版本有什么问题?你们中有人面临类似的问题吗?有什么解决方法吗?我真的很想念这个功能。

干杯! PK.

日食

系统

感谢@Meogi!我关注了评论中引用的 link @Meogi。

修改了位于我的 gtk-2.0 和 gtk-3 的 gtk 配置:

~/.config/gtkrc-2.0 和 ~/.config/gtk-3.0/gtk.css

而且效果非常好。

在下面找到确切的配置:~/.config/gtkrc-2.0

binding "gtk-binding-tree-view" {
    bind "j"        { "move-cursor" (display-lines, 1) }
    bind "k"        { "move-cursor" (display-lines, -1) }
    bind "h"        { "expand-collapse-cursor-row" (1,0,0) }
    bind "l"        { "expand-collapse-cursor-row" (1,1,0) }
    bind "o"        { "move-cursor" (pages, 1) }
    bind "u"        { "move-cursor" (pages, -1) }
    bind "g"        { "move-cursor" (buffer-ends, -1) }
    bind "y"        { "move-cursor" (buffer-ends, 1) }
    bind "p"        { "select-cursor-parent" () }
    bind "Left"     { "expand-collapse-cursor-row" (0,0,0) }
    bind "Right"    { "expand-collapse-cursor-row" (0,1,0) }
    bind "semicolon" { "expand-collapse-cursor-row" (0,1,1) }
    bind "slash"    { "start-interactive-search" () }
}
class "GtkTreeView" binding "gtk-binding-tree-view"

和~/.config/gtk-3.0/gtk.css

@binding-set MyTreeViewBinding
{
    bind "Left"     { "expand-collapse-cursor-row" (0,0,0) };
    bind "Right"    { "expand-collapse-cursor-row" (0,1,0) };
}

GtkTreeView
{
  gtk-key-bindings: MyTreeViewBinding;
}