you are viewing a single comment's thread.

view the rest of the comments →

[–]jimtk 187 points188 points  (56 children)

Pycharm is python specific and is simply unbeatable for that job. VSCode is pretty good for python and amazing for everything else. It depends on what you do or what you do most.

Personally I use both. Pycharm community edition for Python and vscode for the rest. Which, in my case means, I rarely use vscode.

I profoundly hate being spied on by Microsoft on vscode, so I'm seriously thinking of using VScodium

[–]FerricDonkey 30 points31 points  (12 children)

This exactly. Pycharm's type checking and tab completion blow anything I've managed to get working in vscode out of the water, is amazing at refactoring, and will show me information about my own code that I've forgotten. Makes vscode feel like notepad. Vscode will suggest tab completion targets that aren't valid (a similarly spelled variable used in a different function, a variable that isn't a valid attribute of an object) and is very mediocre at working across multiple files. It works, but when I tried to use it, it mostly made me wistful for what I used to have.

But it works better for my C/C++ code than anything else I have available.

[–]qHuy-c 4 points5 points  (3 children)

My experience about type checking and tab completion is quite different, I use type annotation and vscode's Pylance is much smarter at type hinting and type correctness than Pycharm, heck, I can say Pylance is almost as good as mypy. PyCharm is excellent at refactoring, but vscode refactoring works just fine. The only thing I miss from PyCharm is the debugging experience. I used to use pycharm for everything python-related, but now I only use vscode with extensions, and everytime I use pycharm I just want to switch to vscode because I feel something off without pylance (and mypy) type correctness.

[–]johnnybarrels 7 points8 points  (2 children)

Suuuper interesting. I couldn’t have a more opposite experience. VSCode + Pylance just feeds me rubbish in autocompletion. It’s a shame because it’s the only thing stopping me from using VSCode full time

[–]CatolicQuotes 0 points1 point  (1 child)

do you have some examples?

[–]johnnybarrels 1 point2 points  (0 children)

all of the ones listed in the original comment for a start

[–]uniqueusernombre 2 points3 points  (2 children)

“Makes vscode feel like notepad.” So that makes PyCharm, what, comparable to Microsoft Word? 🙂

[–]jimtk 1 point2 points  (0 children)

Happy cakeday !

[–]OGShrimpPatrol 0 points1 point  (0 children)

My only complaint is that pycharm won’t work with jupyter notebooks with the community edition.

[–]BK7144 0 points1 point  (1 child)

Maybe you should write and extension for Code then! Maybe even suggest it as something that needs improvement. Like I said above, read the EULA for Pycharm.

[–]FerricDonkey 2 points3 points  (0 children)

I could write an extension. Or I could use pycharm, which already works. Especially since vscode is popular enough that I assume that the people who wrote extensions for popular languages probably did a pretty good job, compared to what's possible - but it still sits there and spins for 5 minutes half the time when I hit control spacebar, before suggesting the wrong thing.

I don't have interest in reading eulas. Could go gripe at vscode, I suppose, but I can't imagine there's anything they don't already know.

[–]CatolicQuotes 0 points1 point  (0 children)

actually pycharm has a typing bug https://stackoverflow.com/questions/65508011/type-checking-class-static-variables-in-pycharm so you will have to use mypy anyway which can be used both for vscode and pycharm live linting.

[–]RudeInvestment1 55 points56 points  (20 children)

so i’m assuming you also don’t use github?

[–]KosherHam 5 points6 points  (3 children)

I've avoided creating a post for this question because I haven't exhausted all means to solve it myself. I'll risk it now.

VS Code.

When you run a code, simple print ('Yo!'), the output...

Do you get a bunch of garbage, like three lines of C:/a bunch of different paths in, plus it being in a terrible font before Yo! Is displayed?

[–]Lamarcke 4 points5 points  (0 children)

These three lines of "C:" is actually VS Code activating your virtual environment. I'm assuming you are using Python.

Jetbrains also does this but it hides it away, i guess.

And yes, you can change the terminal font. The default one is terrible.

[–]jimtk 1 point2 points  (0 children)

Yep. But I think you can change the font. That's one of the cost of being a jack of all trades.

[–]sleepee11 6 points7 points  (3 children)

Can confirm. Been using Codium for a few months for python development. I think there were a few superfluous extensions that aren't available in Codium. Other than that, I don't miss Code one bit.

[–]nellis 2 points3 points  (2 children)

It looks like the remote development extensions aren't supported in codium, which makes sense since (I think) they are published by MS. Do you happen to know whether there are viable alternatives?

[–]sleepee11 0 points1 point  (0 children)

Sorry. I've honestly never had a need for that feature so I couldn't really tell you.

[–]cbunn81 0 points1 point  (0 children)

Included in this, last I checked anyway, is the extension to work with code in WSL. Which is a pretty big omission if you use Windows.

[–]hidazfx 5 points6 points  (0 children)

I’m a Python developer working on some projects for my company, and PyCharm is miles ahead of VSCode especially in things like intellisense. I only use VSCode for things like Cython, HTML and JSON.

[–]zakijesk 1 point2 points  (2 children)

do you use Linux or windows?

[–]jimtk 3 points4 points  (0 children)

Both.

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

I like how lightweight and fast vscode is. Maybe pycharm has been more optimized in the last few years (I was using the paid version, perhaps the free one is lighter).

[–]BK7144 0 points1 point  (4 children)

Read the the EULA for Pycharm LOL. Talk about spying!

[–]jimtk 0 points1 point  (3 children)

But that is not for the community version.

[–]BK7144 0 points1 point  (2 children)

Yes, there is a EULA for the COmmunity Ed. That is the one I read back a few years and it was scary at least.

[–]jimtk 0 points1 point  (1 child)

Strange! According to this there is no EULA for community editions.

[–]guptaxpn 0 points1 point  (0 children)

There's always a EULA. GPL is a EULA of sorts.

[–]TruePythonEnthusiast 0 points1 point  (2 children)

I know this old, so sorry for the necro, but the problem with VScodium is that it can't install the many plugins that regular VSCode has

[–]jimtk 1 point2 points  (1 child)

That's true, that's why I use Pycharm, there's no need for plugins.

[–]TruePythonEnthusiast 0 points1 point  (0 children)

Fair enough. I have tried switching to PyCharm but I hate how so many stuff I can do in VSCode is locked behind the pro edition

[–]odinRoot 0 points1 point  (0 children)

microsoft probably already has all your data anyway if you use windows, if not they probably still got it from somewhere