Friday, June 6, 2008

Fast bookmarking in NetBeans

It is very easy to add a bookmark to a file in NetBeans. We simply press Ctrl+Shift+M and in the gutter we see the bookmark icon (a blue arrow):

We can navigate between bookmarks with the following key combinations:

  • next bookmark via Ctrl+Shift+.
  • and previous bookmark via Ctrl+Shift+,

Besides using the keyboard we can use the buttons on the editor toolbar:

5 comments:

Marcel said...

It's command key under Mac.

mrhaki said...

Marcel thanks for your comment. I do not own a Mac so I didn't know.

We can also change the key mapping from the Tools | Options | Keymap section and then look under Edit actions.

branajam said...

Hi,
My name is James Branam and I'm the NetBeans Community Docs Manager. Your blog entry would make a fantastic tips & trick entry for our Community Docs wiki (http://wiki.netbeans.org//CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.

branajam said...

Hi again,

This would make a great contribution to the NB Community Docs program at http://wiki.netbeana.org/CommunityDocs.

Thanks,
James Branam
NetBeans Community Docs Manager

mrhaki said...

It is available at http://wiki.netbeans.org/FastBookmarking.