Skip to content

Remove many legacy settings - #5975

Merged
DanTup merged 2 commits into
masterfrom
remove-legacy-settings
Mar 11, 2026
Merged

DanTup merged 2 commits into
masterfrom
remove-legacy-settings

Conversation

@DanTup

@DanTup DanTup commented Mar 11, 2026 •

Copy link
Copy Markdown
Member
  • Removes many legacy settings that related to legacy analysis server protocol, legacy debug adapters, SDKs prior to the ones we support (Dart >=3.2, Flutter >= 3.16).
  • ensures more please where we use onDidChangeConfiguration we check that the config we care about changed.
  • removes some settings from getSettingsThatRequireRestart() that don't require restarts because they are handled dynamically

Fixes #5972

- Removes many legacy settings that related to legacy analysis server protocol, legacy debug adapters, SDKs prior to the ones we support (Dart >=3.2, Flutter >= 3.16).

Also:

- ensures more please where we use `onDidChangeConfiguration` we check that the config we care about changed.
- removes some settings from `getSettingsThatRequireRestart()` that don't require restarts because they are handled dynamically
@DanTup DanTup added this to the v3.132.0 milestone Mar 11, 2026
@DanTup DanTup added the is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix. label Mar 11, 2026
@DanTup
DanTup requested a review from Copilot March 11, 2026 12:10
@DanTup

DanTup commented Mar 11, 2026

Copy link
Copy Markdown
Member Author

@codex review

/gemini review

@codecov

codecov Bot commented Mar 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.49%. Comparing base (a4fb38f) to head (7f5fbf8).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/extension/config.ts 50.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5975      +/-   ##
==========================================
- Coverage   67.52%   67.49%   -0.04%     
==========================================
  Files         169      169              
  Lines       12999    12974      -25     
  Branches     2571     2566       -5     
==========================================
- Hits         8778     8757      -21     
+ Misses       3762     3758       -4     
  Partials      459      459              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

devin-ai-integration[bot]

This comment was marked as resolved.

This comment was marked as resolved.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

View 5 additional findings in Devin Review.

Open in Devin Review

Comment thread .vscode/settings.json

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request significantly cleans up legacy settings related to older analysis server protocols, debug adapters, and SDK versions, and improves performance by making onDidChangeConfiguration handlers more specific. No security vulnerabilities were found in these changes. The update also correctly removes dynamically handled settings from the list requiring an extension restart, enhancing maintainability and reducing technical debt.

@DanTup
DanTup merged commit ebd5410 into master Mar 11, 2026
26 checks passed
@DanTup
DanTup deleted the remove-legacy-settings branch March 11, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

is enhancement An enhancement or improvement that should be listed in release notes but is not a bug fix.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove legacy settings related to the legacy analysis server protocol or SDKs that are no longer supported

2 participants