Every line has a story.
Chromium Context is a VS Code extension for people who work in chromium/src. Put your cursor on a line and see which Chrome release it shipped in, who can review it, and where it leads.
Put the cursor on a line. The status bar tells you which release it shipped in.
Click a line, or focus the editor and use the arrow keys.
Context is key.
The things you'd otherwise look up in five browser tabs, shown where you're already looking.
On the line
- Release milestoneIn the status bar, for whatever line the cursor is on. Click for the CL; double-click for Chromium Dash.
- Code SearchOpen the line on source.chromium.org, copy its URL, or copy a tiny
crsrc.orgpath for chat. - Terminal links
../../path:lineandFoo::Barin build output become clickable.
In the file
- BUILD.gn and
//pathsDeps and paths turn into links you can follow. - Related filesJump from a file to its tests and back.
- Code ownersWho can approve this file, and how quickly they usually do.
- Small conveniencesTODO list, mojom, IDL and GN language modes, C++ snippets, and a command that turns ALL_CAPS constants into
enum classvalues.
Across the checkout
- GerritYour open CLs and the ones waiting on you, each tagged with its milestone.
- Tree statusWhether the tree is open, before you land.
.crxand.zipOpen extension packages right in the editor.- Stack tracesImport a crash stack and walk it frame by frame.
Who can review this, and how long it might take.
Code Owners lists everyone who can approve the file you're editing, with their median turnaround. Look up anyone else by email. One click opens the CLs already in their queue.
- 1dmaya@chromium.org Maya↗Reviews: 214, Median: 1d, Average: 2d, Total: 1y
- 2dtheo@chromium.org Theo↗Reviews: 96, Median: 2d, Average: 4d, Total: 2y
- 2wines@chromium.org Inês↗Reviews: 31, Median: 2w, Average: 3w, Total: 2y
Run the test you're reading.
The Tests view finds gtest cases in the open file. Run one in place with a command you control, copy its filter, or export the list. When a test flakes on one platform, Disable writes the MAYBE_ block for you.
Open a checkout.
Watch the status bar.
It works the moment VS Code opens a folder with chromium in its path. Nothing to configure first.