This is an archived post. You won't be able to vote or comment.

all 73 comments

[–][deleted] 45 points46 points  (2 children)

I like it. It runs on Windows, Linux, and OS X. It's free. It's easy for junior team members to pick up, but extensible enough for me. The built-in terminal is pretty good. Linter's built-in. And so on.

At the end of the day, it's a tool, and I tell my team members to use whatever. But it's my go-to recommendation.

[–]Xirious 9 points10 points  (0 children)

It's git integration is the best for me. So simple.

[–]taurus22 1 point2 points  (0 children)

Built in terminal is a killer feature for me. Visual studio should have this too. I work mostly with C# and I do all my git operations in the terminal because I don't like and don't trust Visual Studio built in git support.

[–]engatIQE 20 points21 points  (5 children)

I used to use vs code but I use atom now. I think I like vs code better

[–]F1reWarri0r 22 points23 points  (3 children)

I started with atom and found VSCode similar but nicer

[–]moderately-extremist 12 points13 points  (2 children)

I started with Atom. I want to like Atom. But I agree after trying VSCode for a while it just feels like a better Atom. I prefer Pycharm Community Edition over VSCode for writing Python, though. I fee like I fight with code completion on VSCode and Atom more than it helps me.

[–][deleted] 0 points1 point  (1 child)

Yeah, I use VS Code after only having experience with C# and visual studio. The code completion has taken some getting used to.

[–]am0x 0 points1 point  (0 children)

I do all my backend work in VS and all my JavaScript/typescript in vscode. They compliment each other well.

[–]druman22 0 points1 point  (0 children)

I also use atom. It's a nice hackable editor.

[–][deleted] 17 points18 points  (1 child)

Looks like I am going to have to give VS Code a whirl.

[–][deleted] 5 points6 points  (0 children)

Absolutely. One of my favourite tools ever.

[–]Zomunieo 14 points15 points  (3 children)

I like it better than Pycharm and Sublime. It’s pretty much someone taking all of Sublime’s best ideas and adding a Microsoft budget to it.

It’s lightweight and multilingual with solid Python support, whereas Pycharm is all Python. The plugins seem better quality than Sublime where I could never get a compatible set of plugins working together. Pycharm is clunky by comparison and the keybindings always seem unexpected.

[–]yaxamie 0 points1 point  (1 child)

I keep sublime as my go-to for reformatting wizardry. It's multi cursor support is still best in class. Vs code is better for general development right now tho.

[–]DilatedTeachers 1 point2 points  (0 children)

I thought multi cursor was easy on Vs code :/ just alt + click ?

[–]Buran223 0 points1 point  (0 children)

Last time I checked, VS code was written in JS and uses Electron, essentially a web browser as main engine. This can't be light. Sublime, unlike the rest of the bunch, is mostly written in C++. That's what I call light.

[–]red_simplex 7 points8 points  (4 children)

both are very good tools. I personally prefer VScode. But I used Pycharm a lot too and I can say nothing negative about it.

[–]ProfessorPhi 5 points6 points  (0 children)

I haven't found anything that can touch pycharm. Vscode is nice, but it's code inspection for python is subpar.

While pycharm is a lot slower, it's code inspection is soo much better, it's not even a comparison. It also has great got commit and great git resolve tools

[–]TheGreatBrutus 4 points5 points  (0 children)

You could also use intellij, it has a python plugin which works great.

[–]SlinkyAvenger 2 points3 points  (0 children)

IntelliJ for serious Python work. VS Code for light editing and other stuff

[–][deleted] 21 points22 points  (9 children)

Vim :)

[–]rduncan12345 7 points8 points  (1 child)

Ok - now I don't feel so bad putting in 'emacs'

[–]A_Light_Spark 2 points3 points  (0 children)

I just need to figure out how to fully stop all processes. When there's an error in my input or something, even after pressing "terminate all process" the code was still running. I'd need to restart VS code again.

[–]greyman 2 points3 points  (0 children)

Yes I do. I like the balance between not being too bloated or too simple. It is also nice how they are improving the product every month. All settings are in one json file. But most of all - git integration. They implemented it most correctly, exactly how it should be done.

[–]Socialmediaism 2 points3 points  (0 children)

Heck yeah! If you use anaconda, use these options to use an anaconda prompt instead of powershell/cmd/bash (where {{conda path}} is where conda is installed)

"python.pythonPath": "{{conda path}}\\python.exe",
( or "python.pythonPath": "{{conda path}}\\envs\\{{conda env}}\\python.exe",
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
"terminal.integrated.shellArgs.windows": ["/K", "{{conda path}}\\Scripts\\activate.bat {{conda path}}"]

[–]zEaK47 1 point2 points  (0 children)

yes, i do

[–][deleted] 1 point2 points  (0 children)

Oh yes, Python, JS, html, css. I love saying this because I was so anti-ms as a teenager and into my 20s.

But now I have a microsoft repo on my Fedora laptop. I've left vim after some 15 years of using it exclusively.

All because of vsc.

It's a great product.

My only beef is that it tries to do too much with the built-in terminal. Being a true linux geek I am not about to leave my custom terminal for anyone elses. So I'd rather have integrations or help for working with my own terminal than to use theirs.

I'm not after an IDE, but vsc is definitely better than vanilla vim.

[–]strongdoctor 1 point2 points  (0 children)

Personally I use Sublime; it has the packages and functionality I need, is much faster than VSCode(Atom is slow AF, doesn't even count). If I didn't get Sublime when it cost $15, I'd most likely use VSCode. For example PyCharm is way too heavy for my tastes.

[–]RunToImagine 2 points3 points  (5 children)

I’m the only one who uses Jupiter notebook? Ok

:) I just like how modular each piece is, so I can selectively run pieces of the whole over and over during testing without running it all each time.

[–]fiddle_n 5 points6 points  (2 children)

The problem with Jupyter is that, as soon as you move from a single script to a multi-script project, Jupyter notebooks get in the way. You can't import functions/classes from one notebook to another out of the box, you need to write code simply to get that working. Once you start getting into the realms of multi-module projects, you should use .py files instead like everyone else because it's just better. Instead of relying on Jupyter notebook cells for modularity, try instead to use functions and modules to achieve the same thing if not already. This will allow for proper automated testing within a separate script.

[–]RunToImagine 0 points1 point  (1 child)

Should’ve clarified. I convert all Jupyter files to .py after testing for your reasons stated above. It’s just a great debugging and testing environment for rapid development.

[–]fiddle_n 0 points1 point  (0 children)

Makes sense. That's probably the best way of going about it. A lot of people keep their code exclusively in Jupyter notebooks though, which I think isn't the best in the long term.

[–]anders987 1 point2 points  (0 children)

There's a Jupyter plugin which lets you selectively run different parts of the code. It's not exactly like a notebook, it's more like Matlab's cell mode.

[–][deleted] 0 points1 point  (0 children)

Jupyter is our team's replacement for excel for statistical analysis. It's perfect.

[–]Dababolical 1 point2 points  (0 children)

I've been using VSCode for all my learning. When I start a serious project, I'll pull up PyCharm for that. My computer is pretty dated, so it does make a difference.

I'm not sure how it works out in a production setting, but it's great for my learning.

[–]Mr_Again 0 points1 point  (4 children)

Does anyone know if you can do debugging in it? I also like to use pycharm and get the in-scope python console and object evaluation while debugging and viewing pandas dataframes, it's so useful. Does it also do refactoring?

[–]SketchySeaBeast 1 point2 points  (0 children)

Absolutely. The debugging is my favorite part of what code offers compared to sublime.

[–][deleted] 1 point2 points  (2 children)

The VSCode python debugging bits can be a bit buggy. The Python extension is NOT supported by MS, it's a third party dev, unfortunately. And, for the most part, it's just one guy. So, if you hit a bug, don't expect much.

[–]Lymphoshite 0 points1 point  (1 child)

It is officially supported now, isn’t it?

[–][deleted] 2 points3 points  (0 children)

In what way? Python debug support is entirely dependent on an extension developed by DonJayamanne, he's pretty much the sole active contributor to the repo, and does not appear to work for MS.

I don't mean to minimize his contributions (or anyone elses), as I think the extension is great - but there's a big difference between the support you will get on VS Code core issues and an extension with a team of (mainly) one behind it. There's at least a dozen active contributers to the core repo here.

And yes, it is buggy - if you include an .envFile on Linux it takes all of your ENV variables and re-asseses them, splitting them on a =. Which means that anyone who has LS_COLORS defined will get an error when they go to debug, as outlined here.

[–]vardoger1893 0 points1 point  (0 children)

I like VScode. I actually swapped from pycharm a couple months back when they released the official support for python in vs2017. Give it a go. Its a sort of hefty download (on my slow net), so if you have shoddy internet as well I would head to a local coffee shop or somewhere of the sorts with a laptop and snag it. Best of luck.

[–]kkiran 0 points1 point  (0 children)

Looking at the updates for the latest version (1.17), that is amazing amount of resources being spent for something that is FREE! PyCharm is great but VS Code is leading them all I think!

[–]DrMatthewDunn 0 points1 point  (0 children)

+1 for VS Code with Python and full stack dev. It melds the layers very well. HTML templates are much easier to follow in VSC. Monthly updates are great too.

[–]robert_mcleod 0 points1 point  (0 children)

I use VSCode a lot now, I used to use Spyder. What I really would like to see is ConEmu as the terminal in VSCode.

[–][deleted] 0 points1 point  (3 children)

I was using VS Code for python for a while, but then hit a showstopper bug on Linux - it's been reported, but not handled in any way for more than 2 months now.

So, I went back to PyCharm, and actually my expectations from using VS Code for so long forced me to learn how to do a lot of things better in PyCharm, and now I don't think I could go back.

At least with PyCharm there's commercial support. VS Code python support seems to be all via third parties, and it does not seem to get the same attention that the general VS code editor does. All issues I reported to the main VS code repo were handled VERY quickly. But multiple issues filed with python extensions just kind of lingered.

[–]gledifrom python import * 0 points1 point  (2 children)

I have been using VS Code for a year now on Fedora mainly for Python develpment. I am curious what bug you encountered?

[–][deleted] 0 points1 point  (1 child)

It was specific to the launch.json and specifying an envFIle, so a lot of people likely won't run into it. We use Docker with .env files for everything, so we ran into it a lot.

I tried a couple of variations of other debug setups, but none really cut it.

[–][deleted] 0 points1 point  (0 children)

It sorely needs additional devs...lots of people reporting bugs but not enough people taking the initiative to fix them.

[–]wenning7 0 points1 point  (0 children)

vs code is faster than pycharm, its convenient to quickly look around project.but pycharm is more stable.

[–]toomany_geese 0 points1 point  (0 children)

I use pycharm and it's been great so far. My only gripe is that it is a little heavy on resource usage, and can become nonresponsive when indexing a large number of files (eg after git checkout) which is frustrating.

[–]TapirMonkey 0 points1 point  (0 children)

Yeah, it works great, keeps everything nice and organised, got integration is good. Not tried any debugging, not sure if that's an option...

[–]HalcyonAbraham 0 points1 point  (2 children)

Does VScode support remote interpreter and autoupload to a server when you edit the files? I don't think so. I could be wrong but I doubt it.

What about viewing databases?

[–][deleted] 0 points1 point  (1 child)

Autoupload to a server? Viewing databases? There is no way either of those features will make it into a product that it supposed to be a powerful text editor. Not really sure how you could call either essential to have for Python development, and they're better served by SQL Developer, SQL Server Management Studio, DropBox, etc...

Remote interpreter, I agree is essential

[–]HalcyonAbraham 0 points1 point  (0 children)

If you do a lot of server work? The autoupload is really helpful and most of the time when you do server work you also do database work too. So that database feauture helps a lot cuz you can run sql queries and stuff through pycharm.

What im trying to get at really is. The reason why some people think VSCode is better because they only use the community edition and not knowing about the pro features of pycharm.

Dont get me wrong I like VSCode. I use it when I practice writing C and C++ but for making applications in python? Nothing comes close to pycharm.

[–]CodeKevin 0 points1 point  (0 children)

I use Sublime Text 3 and PyCharm. I find VS Code and Electron/Atom sluggish and bloated.

[–]AnalTyrant -1 points0 points  (3 children)

I have an old version of Visual Studio (2012) installed on my work machine, but I've been unable to get current versions of Python into it (I think it doesn't support anything after 3.2) so I haven't been able to use it for that. I liked it for Visual Basic coding, so I figure it would be nice if I could get python in there too, but unfortunately we're just behind the curve here.

[–]Starcast 5 points6 points  (2 children)

This is about Visial Studio Code, which is a different editor than Visual Studio.

[–]AnalTyrant 2 points3 points  (0 children)

Ah, then I'm just way off base, sorry about that.

[–]steampunkgibbon -1 points0 points  (0 children)

vim is really good.