[ Web Proxy ]
URL:
Viewing: https://devblogs.microsoft.com/python/python-in-visual-studio-code-june-2020-release/ [Back]  [Original]

Skip to main content Microsoft [Microsoft] Dev Blogs AI All .NET posts .NET MAUI ASP.NET Core Blazor Entity Framework C++ C# F# TypeScript NuGet Servicing .NET Blog in Chinese Microsoft for Developers Agent Framework Develop from the cloud Xcode ISE Developer TypeScript PowerShell Python Java Java Blog in Chinese Go Microsoft Edge Dev Microsoft 365 Developer Microsoft Entra Identity Developer Microsoft Entra PowerShell Visual Studio Visual Studio Code Aspire All things Azure Azure SDK Azure VM Runtime Team Microsoft Azure Azure Cosmos DB Azure DocumentDB Azure Data Studio Azure SQL DevOps DirectX Microsoft Foundry Power Platform OData Unified Data Model (IDEAs) Windows Command Line #ifdef Windows Inside MSIX MIDI and music React Native The Old New Thing Windows Developer
June 17th, 2020
0 reactions

Python in Visual Studio Code – June 2020 Release

[]
Senior Product Manager

We are pleased to announce that theJune2020release of the Python Extension for Visual Studio Code is now available. You candownload the Python extensionfrom theMarketplace,orinstall it directly from the extension gallery in Visual Studio Code. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code. You can learn more about Python support in Visual Studio Codein the documentation.

In this release weworked on new features such as run by line and a start page,in addition to addressing53issues.If youre interested, you can check thefull list of improvements inourchangelog.

RunByLine

Were excitedthat inthisrelease, were introducing run-by-line, a simplifiedway for troubleshootingissuesinNotebookcells. To helpdiagnose yourNotebook code,run-by-linelets you step through the code in your cellsinline-by-linefashionand view the state of yourvariablesateachstep via the variable explorer or data tips(hovering your mouse over the variable).

To startasession, click therun-by-line icon to the right of the run-cell icon in the cell. Once in a run-by-line session, you canrun the currently highlighted line of codeby pressing thesameicon again. To exit, click the stop button next tothe run-by-lineicon in the cell.

Line by line execution of a Jupyter Notebooks cell [Line by line execution of a Jupyter Notebooks cell ]

Were shipping the feature as experimental in this release.To try it out,addthe followingline to your User settings (View>Command Paletteand run Preferences: Open Settings (JSON)):

"python.experiments.optInto":["RunByLine- experiment"]

Afterwards, reloadthe window (View > CommandPaletteand run Developer: Reload Window).

Python Start Page

The start page brings all themost commonactions for the Python extension to an easily accessible page.Itwillhighlightour monthly release notes so you can keep up to date about all ourlatest features,changesandtutorials(for example our tutorial for data sciencehttps://code.visualstudio.com/docs/python/data-science-tutorial), andshowcase featuresin our sample notebook.You can access the page anytime through theOpen Start Page command(View > Command Palette and run Python: Open Start Page). In future releases this page will start automatically launching for anyone who newly downloads the extension or anytime there is an extension update.

Start Page of the Python extension [Start Page of the Python extension]

Join us onDiscord!

The Python at Microsoft team has a discord channel and you can join us on the VS Code tab to chat about all things related to the Python in VS Code! Interested? Join us through thisinvite link.

Other Changes and Enhancements

We have also added small enhancements and fixed issues requested by users that should improve your experience working with Python inVisualStudio Code. Some notable changes include:

  • Removedpython.jediEnabledsetting in favor ofpython.languageServer. (#7010)
  • Preliminary support using other languages for theJupyterkernel. (#11919)
  • Ensure sorting imports in a modified file picks up the proper configuration.(thanksPeter Law!) (#4891)
  • Made the variable explorer resizable. (#5283)
  • Fixedissue with formatting when the first line is blank. (#11416)

Were constantlyA/B testingnew features. If you see something different that was not announced by the team, you may be part of the experiment! To see if you are part of an experiment, you can check the first lines in the Python extension output channel. If you wish to opt-outofA/B testing, you can open the usersettings.jsonfile (View>Command Palette…and runPreferences: Open Settings (JSON))and set the “python.experiments.enabled” setting tofalse.

Be sure to download the Python extension forVisualStudio Code now to try out the above improvements.If you run into any problemsor have suggestions,please file an issueon the Python VS Code GitHub page.

Author

Senior Product Manager

PM working on all things data science for VS Code (#PyTorch #TensorFlow)

1 comment

Discussion is closed. Login to edit/delete existing comments.

comment_reply_content:
Sort by :
Sign in
Theme
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Sitemap Contact Microsoft Privacy Manage cookies Terms of use Trademarks Safety & eco Recycling About our ads

Web Proxy Viewer  |  New URL  |  Original Page