Skip to content

Commit

Permalink
Make device picker name same as tree view item
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Oct 12, 2023
1 parent b5944cb commit 1e82aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DebugConfigurationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export class BrightScriptDebugConfigurationProvider implements DebugConfiguratio
// Create the Quick Picker option items
for (const key of Object.keys(activeDevices)) {
let device = activeDevices[key];
let itemText = `${device.ip} | ${device.deviceInfo['default-device-name']} - ${device.deviceInfo['model-number']}`;
let itemText = `${device.ip} | ${device.deviceInfo['user-device-name']} - ${device.deviceInfo['serial-number']} - ${device.deviceInfo['model-number']}`;

if (this.activeDeviceManager.lastUsedDevice && device.deviceInfo['default-device-name'] === this.activeDeviceManager.lastUsedDevice) {
items.unshift(itemText);
Expand Down

0 comments on commit 1e82aec

Please sign in to comment.