The “Developer: Inspect Context Keys” command has no effect.
Steps to Reproduce
Open Developer Tools (Help → Toggle Developer Tools")
Select Console tab (within developer tools)
Ctrl Shift P (open command bar)
Type: “Developer: Inspect Context Keys” (and press enter)
Click some region within the Cursor IDE UI. (I tried the Terminal and several other areas.)
Inspect console in developer tools.
Expected Behavior
A JavaScript object with the context keys should be shown in the Developer Tools : Console tab. (A screenshot of the correct behavior in VS Code is attached.)
The team is aware. There’s no ETA yet, but your report adds more weight to the issue.
As a workaround, you can use a third-party extension with similar functionality: Editor Context - Visual Studio Marketplace. It lets you inspect context keys so you can write when conditions in your keybindings.
Thanks so much for the quick and thoughtful reply.
I’m afraid the “Editor Context” extension does not help. The extension adds new context keys (that you could reference from the keyboard mappings when expression). I want to view existing context keys (i.e., see which keys are active, in order to better understand the keyboard rules).
I was trying to understand the list of when clauses and verify in which contexts each applies, in order to work around issues with the default keyboard map.
For anyone else who finds this, the partial workarounds I’ve found are:
Try the Developer Inspect Context Keys command in VS Code. Caveat: That doesn’t help with context keys that are unique to Cursor, or UI elements that are different from VS Code.
Command: Developer: Toggle Keyboard Shortcuts Troubleshooting. That will show you every key that is pressed (as received by cursor), the command that results, and the rationale for choosing the command. Caveat: It doesn’t show every when context key active.
Good catch about the Editor Context extension. You’re right, it solves a different problem. That was my mistake for suggesting it.
The workarounds you found are great, especially “Developer: Toggle Keyboard Shortcuts Troubleshooting”. It’s probably the closest thing Cursor has right now for debugging keybinding issues directly in the app.
I’ve shared this with the team. Your detailed report, and the workarounds you described, really help us prioritize. I’ll post an update here if I hear any news.