1. IT-Security >
  2. Programmierung >
  3. Python in Visual Studio Code ? August 2019 Release


ArabicEnglishFrenchGermanGreekItalianJapaneseKoreanPersianPolishPortugueseRussianSpanishTurkishVietnamese

Python in Visual Studio Code – August 2019 Release

RSS Kategorie Pfeil Programmierung vom | Quelle: devblogs.microsoft.com Direktlink öffnen

We are pleased to announce that the August 2019 release of the Python Extension for Visual Studio Code is now available. You can download the Python extensionfrom the Marketplace, or install 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 Code  in the documentation.  

In this release we made improvements that are listed in our changelog, closing a total of 76 issues including Jupyter Notebook cell debugging, introducing an Insiders program, improvements to auto-indentation and to the Python Language Server. 

Jupyter Notebook cell debugging  

A few weeks agowe showed a preview of debugging Jupyter notebooks cells at EuroPython 2019. We’re happy to announce we’re officially shipping this functionality in this release.  

Now you’ll be able to set up breakpoints and click on the “Debug Cell” option that is displayed at the cell definition. This will initiate a debugging session and you’ll be able to step into, step out and step over your code, inspect variables and set up watches, just like you normally would when debugging Python files or applications.   

Insiders program  

This release includes support for an easy opt-in to our Insiders program. You can try out new features and fixes before the release date by getting automatic installs for the latest Insiders builds of the Python extension, in a weekly or daily cadence.   

To opt-in this program, open the command palette (View Command Palette…) and select “Python: Switch to Insiders Weekly Channel”. You can also open the settings page (File Preferences Settings)look for “Python: Insiders Channel and set the channel to “daily” or “weekly”, as you prefer 

Improvements to auto-indentation

This release also includes automatic one level dedent and indentation for a series of statements on enter such as else, elif, except, finally, break, continue, pass and raise. This was another highly requested feature from our users 

Improvements to the Python Language Server

We’ve added new functionality to “go to definition” with the Python Language Serverwhich now takes you to the place in code where a variable (as an example) is actually defined. To match the previous behavior of “go to definition”, we added go to declaration.   

We’ve also made fixes to our package watcher. Before, whenever you added an import statement for a package you didn’t have installed in your environment, installing the package via pip didn’t fix ‘unresolved imports’ errors and a user would be forced to reload their entire VS Code window. Now, you no longer need to do this – the errors will automagically disappear once a new package is installed and analyzed. 

Other Changes and Enhancements 

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

  • Add new ‘goto cell’ code lens on every cell that is run from a file. (#6359) 
  • Fixed a bug in pytest test discovery. (thanks Rainer Dreyer) (#6463) 
  • Improved accessibility of the ‘Python Interactive’ window. (#5884) 
  • We now log processes executed behind the scenes in the extension output panel. (#1131) 
  • Fixed indentation after string literals containing escaped characters. (#4241) 

We also started A/B testing new 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-out from A/B testing, disable telemetry in Visual Studio Code. 

Be sure to download the Python extension for Visual Studio Code now to try out the above improvements. If you run into any problems, please file an issue on the Python VS Code GitHub page. 

The post Python in Visual Studio Code – August 2019 Release appeared first on Python.

...

Webseite öffnen Komplette Webseite öffnen

Newsbewertung

Kommentiere zu Python in Visual Studio Code ? August 2019 Release






Ähnliche Beiträge

  • 1. Malcolm - A Powerful, Easily Deployable Network Traffic Analysis Tool Suite For Full Packet Capture Artifacts (PCAP Files) And Zeek Logs vom 665.47 Punkte ic_school_black_18dp
    Malcolm is a powerful network traffic analysis tool suite designed with the following goals in mind: Easy to use – Malcolm accepts network traffic data in the form of full packet capture (PCAP) files and Zeek (formerly Bro) logs. These artifacts can be
  • 2. Using Visual Studio for Cross Platform C++ Development Targeting Windows and Linux vom 658.75 Punkte ic_school_black_18dp
    A great strength of C++ is the ability to target multiple platforms without sacrificing performance. If you are using the same codebase for multiple targets, then CMake is the most common solution for building your software. You can use Visual Studio fo
  • 3. Announcing .NET Core 3.0 vom 550.17 Punkte ic_school_black_18dp
    Announcing .NET Core 3.0 We’re excited to announce the release of .NET Core 3.0. It includes many improvements, including adding Windows Forms and WPF, adding new JSON APIs, support for ARM64 and improving performance across the board. C# 8 is also
  • 4. Announcing TypeScript 3.2 vom 542.97 Punkte ic_school_black_18dp
    TypeScript 3.2 is here today! If you’re unfamiliar with TypeScript, it’s a language that brings static type-checking to JavaScript so that you can catch issues before you even run your code – or before you even save your file. It also includes the late
  • 5. Making every developer more productive with Visual Studio 2019 vom 507.54 Punkte ic_school_black_18dp
    Today, in the Microsoft Connect(); 2018 keynote, Scott Guthrie announced the availability of Visual Studio 2019 Preview 1. This is the first preview of the next major version of Visual Studio. In this Preview, we’ve focused on a few key areas, such a
  • 6. Get to code: How we designed the new Visual Studio start window vom 507.08 Punkte ic_school_black_18dp
    By now, many of you may have noticed a very prominent change to the launch of Visual Studio in Visual Studio 2019 Preview 1. Our goal with this new experience is to provide rapid access to the most common ways that developers get to their code: whether it
  • 7. Get to code: How we designed the new Visual Studio start window vom 507.08 Punkte ic_school_black_18dp
    By now, many of you may have noticed a very prominent change to the launch of Visual Studio in Visual Studio 2019 Preview 1. Our goal with this new experience is to provide rapid access to the most common ways that developers get to their code: whether it
  • 8. Performance Improvements in Visual Studio 2019 vom 499.48 Punkte ic_school_black_18dp
    Performance has been a big focus area for Visual Studio 2019, with improvements in many areas, including: Faster Visual Studio startup Faster branch switching experience in Visual Studio C++ open folder – time to IntelliSense improvements Faster C++ compiler
  • 9. Debug JavaScript in Microsoft Edge from Visual Studio vom 481.09 Punkte ic_school_black_18dp
    As you may know, the next version of Microsoft Edge will adopt the Chromium open source project to create better web compatibility and less fragmentation of different underlying web platforms. If you haven’t already, you can try out preview builds of M
  • 10. Try out Nullable Reference Types vom 473.91 Punkte ic_school_black_18dp
    Try out Nullable Reference Types With the release of .NET Core 3.0 Preview 7, C# 8.0 is considered "feature complete". That means that the biggest feature of them all, Nullable Reference Types, is also locked down behavior-wise for the .NET Core release. It wi
  • 11. .NET Core Support and More in Visual Studio 2019 version 16.3 – Update Now! vom 454.82 Punkte ic_school_black_18dp
    As we continue to deliver on our mission of any developer, any app, any platform, it’s always an exciting time on the Visual Studio team when we get to launch major features.  Today we’ve released Visual Studio 2019 version 16.3 which contains sup
  • 12. Uncompyle6 - A Cross-Version Python Bytecode Decompiler vom 450.36 Punkte ic_school_black_18dp
    A native Python cross-version decompiler and fragment decompiler. The successor to decompyle, uncompyle, and uncompyle2. Introductionuncompyle6 translates Python bytecode back into equivalent Python source code. It accepts bytecodes from Python version