If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyInformationComputer software information Microsoft releases V...

Microsoft releases August Python extension update for Visual Studio Code: supports multiple interactive windows

Author: Open Source China Date: 2020-08-17

Microsoft has released the August Visual Studio Code Python extension update. This version fixes a total of 38 issues, including:

  Support for multiple Python interactive windows

This is one of the most requested features by users. By default, every time you run the "Python: Create Python Interactive Window" command in the Command Palette, it will create a new interactive window in VS Code:

Code units in Python scripts will still execute in the same interactive window by default. However, it is now possible to configure the Python extension to run separate files in separate interactive windows. Just open the settings page (File > Preferences > Settings), search for "interactive window mode", and change the setting value to "perFile".

Now, when running cells from different files, they will each run on their own separate windows:

If you wish to retain single interactive window behavior, you can set the value of interactive window mode to "single".

  Support Pylance

This release also supports the official addition of support for Pylance in the python.languageServer setting. Pylance can now be set up through the settings editor UI in Visual Studio Code.

  Improved signature help for overloaded functions

Pylance has improved the way it displays signature help when calling a function with multiple overrides. It's now easy to navigate between signatures when Pylance displays the appropriate active parameters in bold.

Related articles