简体   繁体   中英

VSCode Python Interactive Window, variable explorer

I want a Spyder-like Console in VSCode for python, so I run code in Interactive Window and click vairables as other answers said. However, instead of editor area, the jupyter variables shows in the panel I can't move to the upper right.

So can I move variables explorer to the upper right of the editor area? Any help will be appreciate.

----- 2021.10.21 UPDATE -----

So now the new problem is Variables explorer for 2021.10 Python extension lies in panel instead of editor area. Here is the link from VSCode docs. (Can't show pics due to low reputations)

official guide


The Editor layout I expected is like Pycharm and Spyder style, which I got from an earlier version of Python extensions(version 2020.10) Here is the link from an individual guide

Expected


So can the latest version of Python Extension do that?

Right-click on the Terminal tab and select Move Panel Right .

在此处输入图片说明

But there are some problems, after you do that, you need to reload the VSCode, otherwise, it can not display the variables.

我今天遇到了同样的问题,并且一直在寻找将面板移动到 Spyder 或 Rstudio 之类的位置的方法,但正如您所说,新的扩展使其成为不可能。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM