7 ms·
We've been asked this by a few people, so I figured this is a good place to respond: Will PTVS (Python Tools for Visual Studio) come to VSCode? The answer is
by smortaz 11y ago
We've been asked this by a few people, so I figured this is a good place to respond:
Will PTVS (Python Tools for Visual Studio) come to VSCode?
The answer is YES! This will be a major focus next year. Expect full intellisense, debugging, profiling, pkg mgmt, unit test, virtual env, multiple interpreter, Jupyter, etc. support.
Disc: Python/R/Jupyter team lead
https://www.visualstudio.com/features/python-vs https://www.visualstudio.com/features/python-vs
- sparkling 11y agoAs a Python-lover: this is awesome. There is a need for something with good Python support in-between a full blown PyCharm and plain VIM
- abhinavk 11y agoYou may use Sublime Text with Anaconda plugin.
- dflock 11y agoThere are Jedi plugins for lots of editors - including Sublime & Atom: https://github.com/davidhalter/jedi https://github.com/davidhalter/jedi
- objectified 11y agoThere are many others, of which Wing IDE[1] and Komodo[2] are probably the most well known. There's also a page[3] on the Python wiki listing a bunch more. [1]: https://wingware.com/ https://wingware.com/ [2]: http://komodoide.com/ http://komodoide.com/ [3]: https://wiki.python.org/moin/IntegratedDevelopmentEnvironments https://wiki.python.org/moin/IntegratedDevelopmentEnvironmen...
- sitkack 11y agoCurious why PyCharm isn't an option. There is really no reason to not use it. The type completion / introspection is amazing, saving at least an _hour_ per day.
- vvanders 11y agoThat's awesome PTVS is fantastic.
- micah_chatt 11y agoThis would be awesome! The one other thing I'd love to see is the docker + python support.
- giancarlostoro 11y agoThis is fantastic news. The main two IDE's I always use are PTVS and PyCharm... This is definitely great to see a full Python environment for VSCode.
- hantusk 11y agoSounds great. I hope you will take inspiration from Hydrogen (https://github.com/willwhitney/hydrogen https://github.com/willwhitney/hydrogen) which has been the greatest benefit to my python coding in recent months.
- kej 11y agoWow, I had somehow missed Hydrogen but that looks amazing. It will probably be what finally gets me to drop Sublime for Atom.
- skrebbel 11y agoA question: If I'm not mistaken, PTVS is basically a whole bunch of Visual Studio plugins, presumably not written in JavaScript. Since VS Code is a while different program made in a different language and a different UI framework, does this simply mean there will be a new bunch of py/r/jupy plugins for VS Code, accidentally made by the same team? Or does VS Code have more VS-compatible integration options than I knew of, which you're going to use to port PTVS over?
- WorldMaker 11y agoMy lay perspective is that it is apparently the other way around: It certainly appears that VS is increasingly "VS Code compatible". A lot of the extensions in the VS gallery have silently been working in more TS/JS code and even some of the "built-in" functionality relies on TS/JS code. (The Typescript compiler itself, of course, has always been self-hosted in VS. The DOM Explorer which can be used in webpage debugging and Cordova mobile remote debugging uses a bunch of Edge Dev Tools code much of which is also shared with VS Code as well. [Which is more reason the VS Code open source announcement is rather wild.]) It definitely would not surprise me if that's an intentional direction in VS and many more extensions and components will start to be built (or rewritten) for VS Code first as TS/JS and then "ported" to run in VS "proper". Of course, I certainly don't know anything of the matter for certain, this is just lay observation of trends I'm watching with interest in VS.
- shankun 11y agoVisual Studio Code has a very modular architecture. The tool itself is written in Node.JS and web technologies, on top of Electron, and most extensions have a Javascript component. But most of the language and debugging functionality is built as out-of-process components, which means that they can be built in any technology. For example, our Typescript and Node tools are built with Node; our .NET tools are built in .NET and native code; and most of the functionality of our Go extension is built (by the Go community) in Go. PTVS is written in a combination of .NET and Python - but with CoreCLR available across all platforms, a lot of that code can be reused. The way they integrate into the tools may be different, but they can share a lot of common code.
- 1st1 11y agoFor those who want better Python highlighting in VSCode, we've just published MagicPython: https://marketplace.visualstudio.com/items/magicstack.MagicPython https://marketplace.visualstudio.com/items/magicstack.MagicP...
- benlower 11y agoThis is great news. Now all we need is a proper terminal in Windows that includes Python out of the box ;)
- passive 11y agoThe terminal in windows 10 is much improved. Specifically copy and paste being less insane, and proper multi-line selection. I'm sure it is still deficient in many ways, but those were always the biggest irritations. No built-in python yet though.
- mizzao 11y agoThe command prompt looks the same in Windows 8.1 and 10 to me. What terminal are you talking about?
- alexc05 11y agoHe might be referring to powershell ... I never use CMD anymore. I first started using it a few years back because it uses 'ls' instead of 'dir' for a directory list. Over time I've learned more and more about how its improved over CMD... and it has gotten even better in windows 10. May not quite be 100% as good as terminal on OSX but it really is very good. Funny annecdote. I was at a clojure meetup last night tapping away on my windows 10 laptop and the developer behind me said "is that Ubuntu?" I told him that it was W10 and he said "wow, I guess I might finally have to admit that windows doesn't look terrible anymore" I felt like that was pretty high praise given the audience.
- oblio 11y agoSort of off-topic, but could you please fix the telemetry reporting? https://code.visualstudio.com/Docs/supporting/FAQ https://code.visualstudio.com/Docs/supporting/FAQ The current configuration setting is in the app folder which means that it gets deleted after updates. It's kind of not nice to use opt-out instead of opt-in for this. Even if it's a product management requirement, surely it could me made so that the setting is saved across updates, making VSCode feel less like annoy-o-ware.
- fithisux 11y agoI hope Visual D will also come to VSCode.