Skip to content

Make Command Center debug launcher offer most recently used configuration first#240744

Merged
connor4312 merged 2 commits intomicrosoft:mainfrom
notoriousmango:most-recent-debug-item
Feb 18, 2025
Merged

Make Command Center debug launcher offer most recently used configuration first#240744
connor4312 merged 2 commits intomicrosoft:mainfrom
notoriousmango:most-recent-debug-item

Conversation

@notoriousmango
Copy link
Contributor

resolves #233910

// Most recently used configuration
if (selectedConfiguration.name === config.name && selectedConfiguration.launch === config.launch) {
const separator: IQuickPickSeparator = { type: 'separator', label: localize('mostRecent', 'Most Recent') };
picks.unshift(...[separator, pick]);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
picks.unshift(...[separator, pick]);
picks.unshift(separator, pick);

@vs-code-engineering vs-code-engineering bot added this to the February 2025 milestone Feb 18, 2025
@connor4312 connor4312 enabled auto-merge (squash) February 18, 2025 16:46
@connor4312 connor4312 merged commit 1ba0fac into microsoft:main Feb 18, 2025
7 checks passed
@adamneighbors
Copy link

Is there a way to disable this feature? I like my configs being in a consistent set order.

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Apr 6, 2025
@notoriousmango notoriousmango deleted the most-recent-debug-item branch June 8, 2025 02:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Command Center debug launcher offer most recently used configuration first

4 participants