Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit baf28e0

Browse files
committed
show device id in tooltip of unknown devices
1 parent 941084f commit baf28e0

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

vscode/src/JDomTreeDataProvider.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,14 @@ ${spec.description}`,
381381
const description = control?.register(
382382
ControlReg.DeviceDescription
383383
)
384-
this.tooltip = description?.stringValue
384+
this.tooltip = toMarkdownString(
385+
`#### ${description?.stringValue || "no description"}
386+
387+
- device id: ${deviceId}
388+
389+
`,
390+
"devicescript:devices"
391+
)
385392
}
386393
}
387394
}

0 commit comments

Comments
 (0)