Skip to content

Conversation

@rafaelfranca
Copy link
Member

Motivation

Looking at #3878 I noticed that adding a new version manager was requiring a lot of duplication of logic. While working on removing that I also noticed that even the existing manager were duplicating logic, so I took the opportunity to refactor all the managers.

Implementation

I moved the logic to detect the version manager to their classes. I also used a hash lookup instead of the exisint switch statement full of duplicated logic.

@rafaelfranca rafaelfranca requested a review from a team as a code owner January 8, 2026 03:53
@rafaelfranca rafaelfranca force-pushed the rm-refactor-version-manager branch from b480efc to 6e48de7 Compare January 8, 2026 03:55
@rafaelfranca rafaelfranca added chore Chore task vscode This pull request should be included in the VS Code extension's release notes labels Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Chore task vscode This pull request should be included in the VS Code extension's release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant