Skip to content

Notebook inline variable hints: show dtype and shape/size #17240

@georgeamccarthy

Description

@georgeamccarthy

VS Code notebooks currently can show inline variable values but not metadata, with:

"notebook.inlineValues": "auto",

Please add an option to display dtype and shape/size (e.g. NumPy, pandas) inline, similar to JupyterLab’s Variables pane.

This would significantly improve data-science workflows without opening the Data Viewer, often one has a number of tensors of various sizes and it's great to know the dims at a glance.

Ideally this would be configurable e.g. checkboxes for showing value, dtype, and dimensions.

Metadata

Metadata

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions