Skip to content

Conversation

@ulugbekna
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 27, 2025 16:12
@ulugbekna ulugbekna self-assigned this Nov 27, 2025
@ulugbekna ulugbekna marked this pull request as draft November 27, 2025 16:12
Copilot finished reviewing on behalf of ulugbekna November 27, 2025 16:14
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 removes the showLabel property from the inline edits system as part of technical debt cleanup. The showLabel feature was previously used to conditionally show labels for next edit suggestions when they were far from the cursor position, but this functionality is being removed to simplify the codebase.

Key Changes:

  • Removed showLabel property from the PushEdit type definition
  • Removed label generation logic that calculated "Jump to line N" labels for distant edits
  • Simplified configuration options by removing showLabel parameters from internal functions

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/platform/inlineEdits/common/statelessNextEditProvider.ts Removed showLabel property from PushEdit type definition
src/extension/xtab/node/xtabProvider.ts Removed showLabel parameter from doGetNextEditWithSelection function and all call sites, simplified diff options logic
src/extension/inlineEdits/node/nextEditProvider.ts Removed unused Range import, deleted complex label generation logic including INextEditDisplayLocation usage, and removed showLabel handling from cache operations
src/extension/inlineEdits/node/nextEditCache.ts Removed showLabel property from CachedOrRebasedEdit type definition

@ulugbekna ulugbekna marked this pull request as ready for review November 27, 2025 16:41
@ulugbekna ulugbekna enabled auto-merge November 27, 2025 16:41
@vs-code-engineering vs-code-engineering bot added this to the November 2025 milestone Nov 27, 2025
@ulugbekna ulugbekna added this pull request to the merge queue Nov 27, 2025
Merged via the queue into main with commit b002e6a Nov 27, 2025
22 checks passed
@ulugbekna ulugbekna deleted the ulugbekna/victorious-haddock branch November 27, 2025 17: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.

3 participants