I just created my second Eclipse plugin which adds several bookmark methods to the editor. The "default" bookmark methods of Eclipse ask for a name and this is often not very useful. The code here adds bookmarks a la "Borland" and bookmarks a la "JCreator". The code has the following options which can all be bound/rebound with the keys dialog under the "Edit" category:
- Add a numbered bookmark at the cursor: Alt+[digit]. This creates a quick bookmark with the specified number using a "single" keypress. Only one bookmark of the given number can be present in the workspace. Setting the same number bookmark again will clear the earlier instance.
- Goto a numbered bookmark: Alt+Shift+[digit]. Moves to the bookmark as it was set using Alt+[digit].
- Toggle Bookmark: Ctrl+B. This drops an unnamed bookmark at the current location. Pressing Ctrl+B again releases the bookmark at that location again. This is often used with "Goto next bookmark" and "Goto previous bookmark".
- Goto next bookmark in file: Ctrl+N. This locates the next bookmark in the current file and moves there.
- Goto previous bookmark in file: Ctrl+P. This locates the previous bookmark in the current file and moves there. warning: the Ctrl+P binding is a suggestion only; since Ctrl+P is currently assigned you must add your own key binding using Window -> Preferences -> General -> Keys.
I'll be posting the source of the plugin later on; the plugin can be installed using the update site http://eclipse.etc.to/updates/
Comments
wonderful!
This is a great plugin, and it's going make me much more efficient. Thank you!
Eclipse Galileo
Hello,
great plugin. I missed this functionlity from the beginning. Today I started testing the Galileo edition.
Your plugin works great. Here an update to the reply "how to set Goto Quick" for Galileo.
in Eclipse 3.5 you can set it in Window\Preferences...\General\Keys
press "Filters..." button at the bottom of page and uncheck "Filter uncategorized commands".
Now You can modify bindings for all "Goto Quick Bookmark X" command.
Happy bookmarking :)
Thanks ! very usefull
Thanks !
very usefull plugin.
But as a lot of people have been written below I have needs to reconfigure the plugin key binding from original to Ctrl+ Num sequences.
the keys cannot be reconfigured from the menu Window , Preferences . keys configuration and so on, you know.
What I did to change key binding:
I have import the plugin . changed binding of keys in the plugin xml, added to build configuration *.jar , export , copied to plugin directory new version and restarted.
A new key binding works.
I prefer Ctrl 1-9,0 for go to quick bookmark but , Ctrl (1,2,3) is used by eclipse by default. thus I'm trying to use different keys for that.
Any ideas ? :)))))
But all is going to change most of eclipse keybing for my oun needs, no compatibility , but it's very usefull. as show me my many year's experience of eclipse java ide customization.
Thank you for your attention, Konstantin.
constantine.potapov@gmail.com
Wonderful
So Cool!!! It is can integrated with EclipseEE bookmark and work well, woh~
Failure
Don't work with Ganymede 3.4 whatever the latest version is called :)
I really miss it
Dirty hack ahead
Heya moderators, feel free to merge this with my other comment from a minute ago.
Quick & Dirty-Hack:
Should your Eclipse also refuse to allow ALT-SHIFT-[1-9] you can do the following:
1: Go to "Help" => "Software Upd" => "Manage Config."
2: Disable the plugin "etc.to DAO Generator 1.0.13"
==> Exit Eclipse
3: Open the file "to.etc.eclipse.colorplugin_1.0.3.jar" from the Eclipse-Plugin-folder
using WinRar
4: from within WinRAR open the file "plugin.xml"
5: Scroll to about line 400 and begin to change all occurrences of
Shift+Alt+[1-9] to the shortcut that floats your boat.
6: Save the plugin.xml file and let WinRar update the JAR-file.
7: Re-Activate the plugin in Eclipse again
That's it. I changed to Ctrl+Alt+[1-9] and it works beautifully
cu
Thanks from me too!
As I have been programming a lot in Delphi in them old days I really am used to numbered bookmarks. Thanks a million for your groovy plugin. One thing though: on 3 out of 4 of my machines the shortcut keys to jump to the bookmarks won't work (Alt+Shift+[1-9]). Any solution for this in sight (prob appears in both Ecl. 3.3.x and 3.4.x)?
ps: As mentioned below, Keys to anvigate to Bookmarks do not appear in the preferences.
pps: generally, my eclipse installations do not allow me to set any short the likes of "ALT+SHIFT+[Number]". Looks as if Eclipse filters those key-codes
Where is it ?!!
The plugin could not be found at http://eclipse.etc.to/updates/
:sick:
Most asked question w
This is asked so many times in comments without answer - is there way to change keys for "Go To Bookmark X" actions?? (There is not such command as "go to bookmark X" in Keys preferences page)
Please the author to tell us: yes - how?, no - will it be implemented in future?
In windows I am using Alt + Shift to change current language, I cannot use it for bookmarks.
10x
how to set Goto Quick
Hi
in Eclipse 3.3.2 you can set it in Window\Preferences...\General\Keys
press Advanced... button at the bottom of page and uncheck Filter uncategorized commands
now You can modify bindings for all "Goto Quick Bookmark X" command :)
Thanks
Useful plugin. Its functionalities are really missing in eclipse.
Great
Numbered bookmarks are missing from almost all IDEs/editors, and as I am using Delphi from long time I cant without this feature. Prev/Next bookmarks are so inept compared to numbered bookmarks...
So I installed this plugin, and it works, but I want to change shortcuts (to be like Delphi). However in Preferences-Keys i found only Set quick bookmark 0-9 commands, and not "go to quick bookmark". Any idea whiy is that?
Great
Numbered bookmarks are missing from almost all IDEs/editors, and as I am using Delphi from long time I cant without this feature. Prev/Next bookmarks are so inept compared to numbered bookmarks...
So I installed this plugin, and it works, but I want to change shortcuts (to be like Delphi). However in Preferences-Keys i found only Set quick bookmark 0-9 commands, and not "go to quick bookmark". Any idea whiy is that?
"Goto Quick Bookmark
Finally I found this great plugin!
But unfortunately I have a minor problem: I would like to change key bindings for the command "Goto Quick Bookmark X", but neither the key bindings nor the commands appear in Eclipse's keys preferences.
The default Alt+Shift+X key bindings work. (I only can't find a way to modify them!?)
One of the previous posters seems to have the same problem. Anybody had the same problem and solved it?
Keys
Hi,
I've managed to change the keys for `Set Quick Bookmark 1` from Alt+1 to e.g. Ctrl+Shift+1, but how/where do I change `Go To Quick Bookmark 1` (which is nowhere to be found in Keys) from Shift+Alt+1 to e.g. Ctrl+1?
Thanks :)
Take care,
Aleksandar
Hotkey for clear all
or clear them one by one?
hi
hi i m a guy from surat intrested in sex helpo me
Very nice plugin
thanks a lot
I hope this like function
I'm using Ctrl+b, p, n, it's useful
Could you support me,
Hi Jalvingh,
I want to develop a enhanced plug-in for bookmark, as we know, we must use mouse to select bookmark that we want, this is very inconvenient, so i want to develop a bookmark enhancer that looks like "open type" dialog, we can use hot key to open it, after that type a bookmark that we are looking for. but now, i dont know how should i do i can get all bookmark from the original bookmark plug-in of eclipse, as you know, that is a un-valuable thing if i re-write the existed bookmark plug-in instead of using existed one. could you tell me is there some interfaces or methods for the bookmark plug-in of eclipse to let me get all bookmarks? thank you very much!
Good work!
I've been missing this functionality in Eclipse and was planning to write a plugin when I found your plugin. Very good work!
Change keymapping
Hey,
I want to change the keymapping for that goto Quickmark 1-9 command, because [Alt]+[Shift]+ Digit doesn't work for me.
In Window->Preferences->Keys I don't find any goto quick bookmarks command.
What to do? :?
Thanks for great plug
After this plugin - eclipse is make sense for me :) working for me
Can you pls post the
I'd like to see if I can make it work in RAD.
Thank you!
This is a life saver for a vim user trying to move to Eclipse.
Ignore previous comme
Please ignore my comment on network error trying to install, it was due to the PoS* Eclipse losing half of the proxy config settings.
Any chance of you postqqqing the source as you stated in the article?
* No, I don't mean "point of sale".
Install fails
"Network connection problems encountered during search.
Unable to access "http://eclipse.etc.to/updates/".
Error parsing site stream. [Premature end of file.]
Premature end of file.
Error parsing site stream. [Premature end of file.]
Premature end of file."
Great!
I just installed this plugin and I already love it! I was missing this bookmarking functionality since I was using Borland Delphi. The color dialog is very useful too. Thanks a lot!!! :) :) :)
Works in Europa
Installed this plugin into Europa today and it seems to work fine. As an old Borland guy, this improved bookmark handling is a welcome improvement for Eclipse.
VERY USEFULL!
VERY USEFULL! 8)
Thanks
Thanks
I'm trying out eclipse again and found your excellent plugin. Thank you for your effort! It works fine on:
EasyEclipse for Python
Version: 1.2.2.2
Based on Eclipse build id: M20070212-1330
Regards,
Tim
Does not work on mine
Eclipse 3.3.1.1. Plugin installed successfully (Eclipse Editor Extensions 1.0.3 is in the list; to.etc.eclipse.colorplugin_1.0.3.jar is in plugin folder). Hot-keys added to list. But when press Alt-1 or Alt-C nothing happens. When I choose "Insert HTML Colorcode" from mouse right-click menu, it says "The chosen operation is not currently available".
Does not work on mine
Does not work on mine :(
Eclipse 3.3.1.1. Plugin installed successfully (Eclipse Editor Extensions 1.0.3 is in the list; to.etc.eclipse.colorplugin_1.0.3.jar is in plugin folder). Hot-keys added to list. But when press Alt-1 or Alt-C nothing happens. When I choose "Insert HTML Colorcode" from mouse right-click menu, it says "The chosen operation is not currently available".
Does not work on mine
Does not work on mine :(
Eclipse 3.3.1.1. Plugin installed successfully (Eclipse Editor Extensions 1.0.3 is in the list; to.etc.eclipse.colorplugin_1.0.3.jar is in plugin folder). Hot-keys added to list. But when press Alt-1 or Alt-C nothing happens. When I choose "Insert HTML Colorcode" from mouse right-click menu, it says "The chosen operation is not currently available".
Goto Quick Bookmark x
I want :
1. Add a numbered Quick Bookmark x - Ctrl+Shift+(0..9) - ok
2. Goto Quick Bookmark x - Ctrl+(0..9) - problem
I am trying to personalize key bindings but I cannot find the "Goto Quick Bookmark x" options.
xml editor
Hi, it's a cool plugin but it does not work in an XML Eclipse editor. Btw. Do you mantain this plugin yet or no ? :)
Thanks a lot!
:) I've been missing this feature since moving from vi! Great, you did it! Thanks!
Thanks!
Thanks for the plugin Jalvingh. This was just what I was looking for!
Names in Keys dialog
First of all, thanks for a life saver. Now, the problem ;)
I am trying to personalize key bindings but I cannot find the "Goto Quick Bookmark x" options. What are their names?
And a note: at 3.3, the green bulb hides the bookmark icon. Not a big deal but ...
Thx again for a very useful plugin.
+1 I am also using 3.
+1
I am also using 3.4 but I don't even have the default shortcuts working so it would definitely help if I could change them.
Great plugin otherwise. Thank you!
me too
I have this problem too. I can find the 'Set quick bookmark' items, but not the equivalent gotos. I'm using Eclipse 3.4.
Apart from that I love this plugin. As a Vim user moving to Eclipse I haven't started to feel comfortable until I found this plugin.
Goto Quick Bookmark x
Any ideas what could be wrong ?
Installing for C/C++
I try to install and I get an error:
Requested operation cannot be performed because it would invalidate the current configuration. See details for more information.
Eclipse Editor Extensions (1.0.3) requires plug-in "org.eclipse.jdt".
I'm using C/C++ Eclipse
Any ideas?
This is cool
Thanks a lot of this.. This is awesome.. Now I love eclipse :D
Works just like IDEA
This is the best and only way that bookmarks should be implemented. Thank you for this!
Great plugin
Thank you.
Very good!
It looks very well, but my Eclipse is not finding it it on updates... =( How can I download it?
Thanks!
Adriano
I got it!
I got to install it! :) I liked it, very useful!
Thanks!
Adriano
Alt+ on actions makes
:) thanks - I really needed this!
Not working with Ecli
I am using Eclipse 3.3 with CDT, i installed this plugin but it is not working. Hot key not working. I badly need this plugin, any help?
Sure, if you tell me
Sure, if you tell me what goes wrong.