-
Notifications
You must be signed in to change notification settings - Fork 2
Major Code Duplication Across AI Plugins #26
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingcode-solve-in-progressIssue is being worked on by code-solve automationIssue is being worked on by code-solve automationgood first issueGood for newcomersGood for newcomersrefactoringCode refactoring neededCode refactoring needed
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcode-solve-in-progressIssue is being worked on by code-solve automationIssue is being worked on by code-solve automationgood first issueGood for newcomersGood for newcomersrefactoringCode refactoring neededCode refactoring needed
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description:
There is significant code duplication between the 9 AI provider plugins (Claude, Gemini, Mistral, etc.). Many classes like completion providers, actions, UI components, and chat panels are nearly identical copies with only provider-specific changes.
Impact:
Recommendation:
Extract shared base classes into
ai/coreor a newai/commonmodule:This would dramatically reduce LOC and improve consistency.
See my full code review for details.