JetBrains Plugin for Cursor CLI (Similar to Claude Code Plugin)

Feature request for product/service

Cursor CLI

Describe the request

One critical thing is missing to replace Claude Code: With CC, there is a jetbrains plugin that does two important things:

direct access to the IDE diagnostics, which means that typing/linting errors (I work with Pycharm) are fixed automatically before generating the diff for approval
display the diff in the IDE for approval
Is something similar planned?

Follow-up from here Cursor CLI (like Claude Code) - #15 by sanjeed5, didn’t see a feature request yet

1 Like

This is also a deal breaker for me. I can live without using the JetBrains diff viewer, but the ability to select code and send it to the current prompt with a hotkey is the main thing I need.

direct access to the IDE diagnostics,

@c.schmidt does Claude Code for Jetbrains IDEs really do that? I was under the impression it had no context beyond what it gets when executing commands.

I’m not sure about the diagnostics, maybe Claude Code is using some other magic to handle this.

Anyway, most important feature to me is the ability to view, edit and accept/decline Cursor suggestions in a JetBrains diff view (and that Cursor CLI is running flawlessly in the JetBrains Terminal)

One thing I am wondering that Cursor AI Agent cannot code this plugin?

It probably can, but I can also imagine that some changes to Cursor CLI itself will be needed, that’s why I raised the feature request.

I used Claude Code to write this. For now, you’ll have to compile it (./gradlew buildPlugin) and install it manually in your IDE.

For now, it supports the ability to launch the cursor-agent and send code refs to the prompt with cmd+opt+k. There’s no native diff as I am not sure how they did that in the Claude Code plugin. :sweat_smile:

https://github.com/j-martin/jetbrains-cursor-agent/blob/main/README.md