Sublime Text plugin that provides Chromium CodeSearch integration
PythonApache-2.0
Chromium X-Refs Plugin for Sublime Text
Show cross-references for a given function or variable
Command: Chromium X-Refs
Usage: Ctrl+Alt+Left mouse click (or ctrl+alt+\) on most text in the
C++ Chromium codebase. Use the command key instead of alt on OSX.
Function: Inserts a frame in the code with links to declaration,
definition, callers, and x-refs for the given text. Click on the caller to
jump to the code. Click on the "+" sign next to the caller to delve deeper
in the call stack. Click on the "-tests" button on the top to remove
functions with "test" in their name. Click on the "X" button in the top
right to close the frame.
Notes: The data is retrieved from cs.chromium.org and the data will
only be as recent as what that site last indexed. This means local changes
you have made to the codebase will not be reflected.
Recall last shown x-refs frame
Command: Chromium Recall X-Refs
Usage: Ctrl+Alt+Right mouse click (or ctrl+alt+shift+\) anywhere in C++
code. Use the command key instead of alt on OSX.
Function: Recalls the last x-refs frame displayed and inserts it below
the cursor's position. You don't have to be in the same source file you were
in when you originally displayed the hierarchy. This is useful when
exploring through a call stack and you need to recall the last hierarchy
that you displayed.
Suggested mouse mapping
A mouse mapping is quite useful for this plugin. Paste the following in your
"Default (OS).sublime-mousemap" file in your User/ directory. Replace "OS"
with one of Windows, OSX, or Linux. Then you should be able to get x-refs
with a ctrl+alt + left mouse click.