We’re pleased to announce the release of Python Tools for Visual Studio 1.1. Python Tools for Visual Studio (PTVS) is an open-source plug-in for Visual Studio which supports programming with the Python programming language. PTVS supports a broad range of features including:
- Supports CPython and IronPython
- Python editor with advanced member and signature intellisense
- Code navigation: “Find all refs”, goto definition, and object browser
- Local and remote debugging
- Profiling with multiple views
- Integrated REPL window with inline matplotlib graphics
- Support for HPC clusters and MPI, including debugging & Profiling
- Interactive parallel computing via integrated IPython REPL
This release includes new core IDE features, a couple of new sample libraries for interacting with Kinect and Excel, and many bug fixes for issues reported since the release of 1.0. The 1.1 release altogether contains over 150 bug fixes and new features since 1.0.
For the core IDE features we’ve added many new features which improve the basic editing experience. This includes a smart tag feature for automatically adding imports, a command for cleaning up unused imports, support for recognizing isinstance() calls and using them for providing improved completions. We’ve also updated goto definition to go to members defined in the standard library.
We’ve also made several improvements to the project system. Some improvements which should help just about everyone include support for linked files that live outside of the project directory. This makes it easy to keep your project file separate from your code files. For IronPython users you can now add references to .NET projects or .NET assemblies and we’ll automatically reload and re-analyze the references when they’re rebuilt. For CPython users you can now add a reference to a .pyd extension module enabling analysis of the extension to provide completions. We’ve also improved intellisense across multiple Python projects in the same solution.
This release also includes some improvements to the interactive REPL window. This includes improvements to IPython REPL support including support for inline graphs and proper support for IPython’s numbered prompts. We’ve added support for using IPython mode w/o PyLab – this enables out-of-line graphs and improves the startup time of the interactive window.
The debugger has also seen several small improvements in this release. There’s a new option to step into the Python standard library while debugging, another option to not break on SystemExit exception with exit codes of zero. Finally we’ve added support for displaying Python thread name in the threads window. We’ve also improved the Debug->Attach support and made it easier to attach to a process which is not actively running Python code.
Another major addition to 1.1 includes the addition of two additional sample libraries available as separate downloads: PyKinect for working with the Kinect Beta SDK and Pyvot for working with Excel spreadsheets. Once downloaded and installed these plug-in to Visual Studio and provide templates; and they provide built-in support for installing into one of the recognized Python interpreters via Tools->Python Tools->Samples.
We’d like to thank all of the users who took the time to report issues and feedback for this release: 445363200, adv12, Andrew, AphexSA, benpmorgan, chadbr, dgkbny, drgn, holmboe, hyh, jimpeak, juanalumni, kingnaoufal, lblanchon, liuzhenhai, mahpour, MichaelBaker, po6856, pztrick44, RobertMcGinley, salerio, slide_o_mix, somini, SoonStudios, stakemura, stephenkennedy, sumitbasu, swift_dev, synergetic, teebot, tiphon, timeisaparallax, tonyandrewmeyer, xavier_grundus, and Zooba.
The Python Tools for Visual Studio Team