Menu:

Post History:

Animals Matter to Me

Trac bookmark shortcuts in Firefox

If I know the number of a Trac ticket I want to see, or if I am interested in a revision I see in an svn blame, then I usually want to go directly to that page in Trac as quickly as possible. To do this I use Firefox bookmarks with keywords.

When I want to see a particular ticket, just type “ticket 12345” in the address bar and Firefox expands that to https://our.trac.site/ticket/12345. I use the ‘changeset’ keyword for source revisions so I type “changeset 52312” which gets expanded to https://our.trac.site/changeset/52312.

To do this yourself, create two new bookmarks in Firefox with the following parameters.

  • Name: Trac ticket shortcut
    • Location: https://your.trac.site/ticket/%s
    • keyword: ticket
  • Name: Trac changeset shortcut
    • Location: https://your.trac.site/changeset/%s
    • keyword: changeset

Of course the fields can be adjusted to suit personal preferences. This will work for other ticket tracking systems as well, just adjust the location to match the URL your site uses.

3 comments


Kevin Compton on March 01, 2009 10:18AM

Thanks! I never heard about this.

nicholas a. evans on March 02, 2009 10:40AM

You can also right click in the search box on any trac page and choose "Add a keyword for this search..." Once you've chosen your keyword (e.g. "trac") you can quickly jump to tickets with "trac #1234" or changesets with "trac r9876".

Jeff Dallien on March 02, 2009 3:54PM

Thanks Nick. I think I actually like that better. I will have to try and see if I can get into the habit of putting # and r before the numbers. And by responding to your comment above your comment, it makes think I need to improve how comments work here. :) Edit: I reversed the comment order for now. Going to look into using something like Disqus next time I update the site.

Adding new comments is currently disabled.