Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97420

Is there a way to display a list of all variables in VSCode with a small summary?

$
0
0

I am trying to convert my MATLAB programs to Python and I am using Visual Studio Code (VSCode). There is a workspace panel in the MATLAB IDE where it displays all the variables used in the code with a small summary, like what is the type of the variable or its size. Is there any way of displaying this in VSCode? Also if I double click on the variable, it opens up a panel where it displays all the values or the data in that variable.

EXAMPLE:

So, if I write a small code such as

I = [1 2 3; 4 5 6; 7 8 9];
P = max(I);
Q = min(I);

My Workspace looks like MATLAB Workspace and whos command

I can also type "whos" with a specific variable to display the details in the command window.

Also, if I double click one of the variables, it displays this

MATLAB Variables pane

Is there any way to do this in VSCode or any script in Python that I can use?

Any help is appreciated. Thank You.


Viewing all articles
Browse latest Browse all 97420

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>