score:0
Additional info: I've got Eclipse Kepler (v4.3) and as mentioned earlier, I've seen a few more bookmark commands available. Of particular interest is the "Next Bookmark" command, which is worth binding a keyboard shortcut to. This will work similar to the "Next Annotation" command, except only jumps to the bookmarks.
Warning: I've noticed that if you edit a file outside of eclipse and then return back to eclipse, you will have lost all your bookmarks, not nice.
score:3
In Eclipse 3.5 there are some bookmarks related actions cthat can be linked to key shortcuts: to bind them you have to go to menu Window > Preferences > General > Keys and use the word "bookmark" as filter.
Saluti
score:3
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.
As you would probably expect, double-clicking the entries in the bookmarks tab takes you to the bookmarked line of code.
score:8
I personally like these settings:
- Go to Window > Preferences > General > Keys
- Type "bookmark" as the filter and select "Add Bookmark"
- Click in the box related to binding at the bottom.
- Erase previously assigned hotkeys with delete or backspace Then hit Ctrl + Shift + A
- Similarly select "Go to next bookmark" and assign Ctrl + B to it.
- Finally, select "Toggle Bookmark" at the bottom, and assign Ctrl + Shift + B to it.
This way you can:
- hit Ctrl + Shift + A to add a bookmark with name (which is shown if you open the Bookmarks view with the name you entered and you can double click on it to go to that line).
- hit Ctrl + Shift + B to add a bookmark without name (which is also shown in the Bookmarks view but named as "Quick bookmark").
- hit Ctrl + B to switch between bookmarks and is very handy if you have a few number of bookmarks.
score:13
Not exactly.
You can only assign a shortcut to add a new bookmark (like I did in the picture below).
But you can go to the bookmark you have just defined only through the "Bookmarks" View (the second shortcut would only display the Bookmark view)
score:13
I was not really satisfy with what Eclipse has to offer. But I found a plugin called Quick Bookmarks. See Quick Bookmarks. I love it! I can assign a shortcut to a specif bookmark. Just what I needed. It works with every text file.
score:37
Yes. You need to set a shortcut key for Add Bookmark
. Go to Window > Preferences > General > Keys and enter the text filter "bookmark". Add bookmark
will be listed, select it. Now bind a new shortcut in Binding
. Make sure that there are no conflicts.
It may be also a good idea to assign a shortcut to "Show View (Bookmarks)" where all your bookmarks are listed. Alternatively this can be enabled via Window > Show view > Other (shortcut Alt+Shift+Q, Q) > and filter to "bookmark".
From here on, you can set new bookmarks. Eclipse will want you to name your bookmarks.
You can navigate these bookmarks, using "Next Annotation" Ctrl+. and "Previous Annotation" Ctrl+, but you need to enable jumping to bookmarks first via the dropdown of these two in the annotations toolbar:
image source: tutorial by vogella
So select any of the two dropdown and enable "Bookmarks":
If you don't want other annotations such as Errors and Warnings to be included in the navigation, disable them in the toolbar dropdown for next/previous annotation.
The shortcut for Next/Previous Annotation can also be changed in the Preferences. Their category is Navigate
, when: In Windows
, you can filter to their names: Next
and Previous
.
Source: stackoverflow.com
Related Query
- Bookmarks in Eclipse, set and go using hotkeys, do they exist?
- How to set JVM arguments in tomcat that work both in eclipse and using the startup.bat
- how or where to set parameters for vm arguments in eclipse using phonegap and mgwt
- How to set up test suite using selenium webdriver eclipse and test NG
- Some projects cannot be imported because they already exist in the workspace error in Eclipse
- Using both Eclipse and NetBeans on the same project
- Difference between Java working set and Resource working set in Eclipse
- How to layout folders locally and in SVN when using eclipse
- How to display console.log() output in PhoneGap app using Eclipse and HTC Desire HD?
- Simple program to call R from Java using Eclipse and Rserve
- Using JUnit with App Engine and Eclipse
- Eclipse debugging HashMap: Logical Structure using Key and Value's toString() method
- Kotlin And Java In The Same Project Using Eclipse IDE
- ErrorListener missing when using maven-jaxb-plugin with eclipse and m2e
- When using Eclipse with FindBugs can you mark a bug as not a bug and have it removed from the bug list?
- Is it possible to build a java project only once using eclipse and share?
- How to compile and run C++ with MinGW using Eclipse and CDT?
- Compiling a Win32 GUI app (without a console) using MinGW and Eclipse
- How to set charset encoding property for SVN File and Eclipse
- Using Dark Eclipse Color Theme and Comparison Editor
- Using @NotNull in a project where both IntelliJ and Eclipse developers are working
- Using JDK 7 Or Higher With Android Studio And Eclipse On Mac OSX
- C++ program written in Eclipse using Windows and MinGW cannot display output to console view
- How to convert jar to OSGi bundle using eclipse and bndtools
- How do you do merges using Git, Eclipse and Egit
- Using Android library in eclipse and jumping to class files instead of source file that is within eclipse workspace
- How do I debug properly using Eclipse and Pydev?
- Using Eclipse TableViewer, how do I navigate and edit cells with arrow keys?
- Using ADT and SDK manager, attach android source code to eclipse
- Best way to debug Java web application packaged as a WAR using Eclipse and Maven?
More Query from same tag
- Gradle doesn't compile classes in war project
- Making Formatter in Eclipse behave like Visual Studio
- Maven for eclipse plugin not getting installed
- The import org.apache.commons cannot be resolved in eclipse juno
- my eclipse + apache tomcat/6.0.30 stopped serving files
- Error when opening package explorer and when trying to open java classes in Eclipse
- How to pass parameters to comman in eclipse rcp application through code?
- hide and show button when check box clicked
- What's wrong with my code?
- know the methods and classes running in a complicated java project
- Install android adt in eclipse
- What does the reduced palette option in Eclipse offer to user
- Android: Debugging on Samsung Galaxy Tab 10.1 in Linux
- Tomcat from WTP ignoring assigned port
- Eclipse: How to create dynamic web project from existing source?
- error: found shape tag where item is expected
- Android emulator doesn't load my app?
- Any Eclipse autocompletion plugins?
- Importing a checkout svn source code as java project in eclipse
- how to attach javadoc in project
- Eclipse RCP text editor selection changed
- How do I go about creating a compiler/editor in Eclipse?
- Which one is better (in support, difficulty, ...) to develop a plugin, Netbeans or Eclipse?
- Eclipse RCP: how to get Show View menu instead of a dialog
- eclipse-inst-win64.exe won't open
- Proper Eclipse Folder Placement
- GIT Pulling and merging generates Staged files and conflicts
- What's the meaning about this square frame around the "null" in eclipse
- Cant get my Eclipse compiler warnings in my PDE Build
- Eclipse debugging: Variable names are not showing, but values are showing