Skip to content

Commit e587755

Browse files
authored
Expose notebook variable type (microsoft#205250)
1 parent d16c530 commit e587755

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/vs/workbench/api/common/extHost.protocol.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,7 @@ export interface VariablesResult {
11191119
id: number;
11201120
name: string;
11211121
value: string;
1122+
type?: string;
11221123
hasNamedChildren: boolean;
11231124
indexedChildrenCount: number;
11241125
extensionId: string;

src/vs/workbench/api/common/extHostNotebookKernels.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
101101
return {
102102
name: variable.name,
103103
value: variable.value,
104+
type: variable.type,
104105
editable: false
105106
};
106107
});

0 commit comments

Comments
 (0)