Preliminary Work for Roo Code to Support JetBrains and CLI #2536
Replies: 3 comments 3 replies
-
How does it handle the Kotlin / TS bridging back and forth? |
Beta Was this translation helpful? Give feedback.
-
I mean, what form does the bridge take? Is there an npm package that provides a relay already? Does JB have one in their Plugin SDK? (I haven't read through their docs yet) Or are we gonna have to write that from scratch? I was looking for a code example. Is there some other JB plugin already doing this with source code we can look at? I want to see how hard / slow / fast / ergonomic calling through the APIs give all the changes that will have to take place. Something as simple as a POC instantiating the extension pane on the side of a JB IDE, a moving it to other side, popping it out as a floating window and adding a single file to the context to the chat. I am jazzed about a JB plugin! Thanks. |
Beta Was this translation helpful? Give feedback.
-
Here is cline's discussion on this matter, which seems progressing: cline#581 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the Roo Code project is only a VS Code extension and is tightly coupled with the VS Code platform. Some collaborators and I are exploring the possibility of expanding Roo Code to support the JetBrains platform or even run as a standalone CLI component.
You can refer to how Continue handles this:
To move in this direction, a few tasks are required:
webview-ui
andsrc
, and add aplugins/
directory.extension.ts
intoplugins/vscode
. Dependencies fromextension.ts
should point to the rootsrc
directory. The existing packaging scripts should also be migrated into a new script underplugins/vscode
.IIDE
interface to abstract differences between VS Code and other platforms. Replace all direct VS Code dependencies in the codebase with dependencies on theIIDE
interface, and implementVSCodeIDE extends IIDE
. (This will be a large amount of work.)plugins/jetbrains
orplugins/cli
.I believe this would be a major change, but every big change needs a starting point.
I think it's a good time to start a discussion around this.
Beta Was this translation helpful? Give feedback.
All reactions