Modular architecture #1388
vgpastor
started this conversation in
Feature Requests
Replies: 1 comment
-
|
Did you try this prompt in Cline to build the JetBrains plugin? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!!
Many of us regularly develop using other IDEs and not just Visual Studio Code, I personally have moved to this IDE in several projects to be able to test and take advantage of this great plugin. An example of this request are in #1242 #581 #63
After analyzing it carefully, I think it would be necessary to make an effort to modify the project architecture so that this plugin can be available in multiple IDEs.
I propose a much more modular architecture, which would also allow to test each part individually and a faster development in multiplatform environments
cline/
├── packages/
│ ├── core/ # Core functionality in TypeScript
│ │ ├── src/
│ │ │ ├── ai/ # Integrations with AI (OpenAI, Anthropic, etc.)
│ │ │ ├── browser/ # Browser management
│ │ │ ├── commands/ # Core commands
│ │ │ ├── mcp/ # MCP protocol
│ │ │ └── utils/ # Shared Utilities
│ │ └── package.json
│ │
│ ├── ui/ # Shared UI in React
│ │ ├── src/
│ │ │ ├── components/ # Reusable React Components
│ │ │ └── themes/ # Shared Themes
│ │ └── package.json
│ │
│ └── shared/ # Shared Types and Utilities
│ ├── src/
│ │ ├── types/ # TypeScript types/interfaces
│ │ └── constants/ # Shared constants
│ └── package.json
│
├── ide-integrations/
│ ├── vscode/ # VSCode integration
│ │ ├── src/
│ │ │ ├── extension.ts # VSCode-specific entry point
│ │ │ └── adapters/ # VSCode-specific adapters
│ │ └── package.json
│ │
│ └── intellij/ # IntelliJ integration
│ ├── src/
│ │ ├── main/java/ # Java/Kotlin code for IntelliJ
│ │ └── main/resources/ # IntelliJ resources
│ └── build.gradle.kts
│
└── package.json # Root package.json for managing workspaces
This structure:
Benefits:
Communication between the JS core and IntelliJ's Java integration can be done through:
Beta Was this translation helpful? Give feedback.
All reactions