Improved CMSSW WebCVS browsing with Greasemonkey
Understanding what complex CMSSW processes do usually involves a lot of file navigation since there are pretty large include hierarchies involved. The CMSSW LXR is great for navigating the C++ part of things, but sadly doesn't support Python very well. Since the lookup rules to find include files and Python imports in CMSSW are pretty easy, I wrote a Greasemonkey user script that makes links out of
- C
#include
statements
- Python
import
statements
- CMSSW
.load("...")
statements
in the
CMSSW WebCVS.
Installation
- Get Greasemonkey.
- Restart Firefox, notice the smiling monkey icon in your status bar.
- Get the user script.
- Go to some particularly nasty configuration file (e.g. here) and enjoy your new navigation powers!
Header/Source switching
Another quite useful thing is the header-source switch bookmarklet which allows easy switching between .cc files and the associated .h files.
- Go to this page and bookmark the link there (sorry, TWiki is confused by complex links).
- Go to a WebCVS
.cc
or .h
page (e.g. here) and click the bookmark to be transported to the other part of the pair!
--
ThomasThemel - 08-Oct-2009
Topic revision: r2 - 2009-10-08
- unknown