Visual Studio Code April Python Extension Update

Microsoft released the April April Visual Studio Code Python extension update , which includes ipywidgets support in Jypyter Notebooks and debugger support for Django and Flask auto-reload. 

Ipywidgets support in Jypyter Notebooks

The new version supports all ipywidgets (including custom ones) in Jupyter Notebooks in VS Code. This means that all interactive plotting libraries (such as beakerX, bqplot, etc.) can be interacted and visualized with data in Notebooks and VS Code.

Debugger support for automatic reloading of Django and Flask

In the March release of the Python extension, a new Python debugger, debugpy, was introduced. Now, it supports real-time reloading of web applications such as Django and Flask. When editing an application, you can apply it without restarting the debugger. After saving the changes, the web server will be automatically reloaded in the same debugging session. 

Other improvements

  • Make sure the printed image fits the PDF page ( # 9403
  • Support to use "esc" or "ctrl + u" to clear the contents of the input box of the interactive window ( # 10198
  • Even if telemetry is disabled, the experiment can proceed normally ( # 10008
  • Make sure to keep the user code in the unit between unit execution and unit editing ( # 10949

See the update instructions for details:

https://devblogs.microsoft.com/python/python-in-visual-studio-code-april-2020-release/

Guess you like

Origin www.oschina.net/news/115099/python-in-vs-code-202004