Skip to content

Conversation

@benibenj
Copy link
Collaborator

@benibenj benibenj commented Dec 8, 2025

Copilot Generated Description: Update the default setting value for rename symbol suggestions to true.

Copilot AI review requested due to automatic review settings December 8, 2025 14:10
@benibenj benibenj enabled auto-merge December 8, 2025 14:10
@benibenj benibenj self-assigned this Dec 8, 2025
chrmarti
chrmarti previously approved these changes Dec 8, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the default value for the chat.inlineEdits.renameSymbolSuggestions configuration setting from false to true, removing the team-specific default value structure that was previously in place. This change graduates the rename symbol suggestions feature from team testing (where it was enabled via teamDefaultValue: true) to general availability with a standard default of true.

Key Changes:

  • Changed the configuration definition from using a CustomTeamDefaultValue object with defaultValue: false and teamDefaultValue: true to a simple boolean default of true
  • Removed the owner (benibenj) and expiration date (2025-12-10) fields that were part of the team default structure

export const InlineEditsNextCursorPredictionDisplayLine = defineAndMigrateExpSetting<boolean>('chat.advanced.inlineEdits.nextCursorPrediction.displayLine', 'chat.inlineEdits.nextCursorPrediction.displayLine', true);
export const InlineEditsNextCursorPredictionCurrentFileMaxTokens = defineAndMigrateExpSetting<number>('chat.advanced.inlineEdits.nextCursorPrediction.currentFileMaxTokens', 'chat.inlineEdits.nextCursorPrediction.currentFileMaxTokens', xtabPromptOptions.DEFAULT_OPTIONS.currentFile.maxTokens);
export const InlineEditsRenameSymbolSuggestions = defineSetting<boolean>('chat.inlineEdits.renameSymbolSuggestions', ConfigType.ExperimentBased, { defaultValue: false, teamDefaultValue: true, owner: 'benibenj', expirationDate: '2025-12-10' });
export const InlineEditsRenameSymbolSuggestions = defineSetting<boolean>('chat.inlineEdits.renameSymbolSuggestions', ConfigType.ExperimentBased, true);
Copy link

Copilot AI Dec 8, 2025

Choose a reason for hiding this comment

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

The default value in the code has been changed to true, but the corresponding default value in package.json (line 3875) is still false. This mismatch will cause a BugIndicatingError to be thrown at runtime with the message "The default value for setting chat.inlineEdits.renameSymbolSuggestions is different in packageJson and in code".

The validation logic in toBaseConfig (lines 456-458) ensures that default values match between the code and package.json for public settings. You must also update the default value in package.json to true to match this change.

Copilot uses AI. Check for mistakes.
@benibenj benibenj added this pull request to the merge queue Dec 9, 2025
Merged via the queue into main with commit 2f1e2da Dec 9, 2025
16 checks passed
@benibenj benibenj deleted the benibenj/marginal-hippopotamus branch December 9, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants