Bookmarks in Eclipse, set and go using hotkeys, do they exist?

后端 未结 7 1059
谎友^
谎友^ 2021-02-02 05:53

Bookmarks in Eclipse, set and go using hotkeys, do they exist?

Say, Ctrl+Shift+1 = Set 1 bookmark

Ctrl+1 =

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-02 06:32

    I don't think so. You can assign a shortcut to make bookmarks, but I don't think you can specify a hotkey for each individual bookmark you create.

    In Eclipse 3.5, if you go to Windows > Preferences > General > Keys you'll find the Add Bookmark command. Add a hotkey in that dialog.

    Then go to Window > Show View > Other... > Bookmarks to display the bookmarks tab.

    Eclipse bookmarks tab

    As you would probably expect, double-clicking the entries in the bookmarks tab takes you to the bookmarked line of code.

提交回复
热议问题