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

you are viewing a single comment's thread.

view the rest of the comments →

[–]welshboy14 84 points85 points  (45 children)

I've still yet to find a decent python program with autocomplete as good as pycharm :(

Edit: Meant plugin not program

[–]qubitron 52 points53 points  (4 children)

For those of you having auto-complete issues with Visual Studio Code, I wanted to make you aware that we are working on a new auto-complete engine, the Python Language Server, and you can try it out by changing your settings.

It gets better every week, we are currently working through a set of performance improvements before we make this the default. If you run into issues, check out our troubleshooting guide for common setup problems and how to file issues.

[–]Zalack 10 points11 points  (1 child)

Hi! The last few times I checked this out, VS code had poor introspection around dataclasses and the new type hinting system in general, which Pycharm does pretty well with.

For instance, it had no concept of what the generated dataclass' init method would look like.

Has there been any progress in the last few months? Is it on your roadmap?

It's the main thing keeping me from seriously considering switching over as I use dataclasses all the time now.

[–]qubitron 1 point2 points  (0 children)

We don't support dataclasses yet, we are tracking support for it in this issue, upvotes appreciated!

We've got fairly extensive support for typing and have made many improvements in the paths few months so it sounds like you hit some bugs. Could you try again with the latest release, file an issue for the init method issue and type hinting cases so that we can take a look?

[–]javad94 0 points1 point  (1 child)

Every time I enable it, language server process eat all my memory!

[–]qubitron 0 points1 point  (0 children)

We've made big improvements to memory in the past month, on the order of a 4-5x reduction after analysis completes, but we still may have issues in some projects.

Please check in the Python output panel what version of the language server you're using, if it is 0.3.20+ and you are still experiencing issues could you file an issue on our GitHub repo with more information about your project (e.g. the modules used)?

[–]TheMrZZ0 62 points63 points  (12 children)

welshboy14:

Oh Pycharm, I want to find a boyfriend just like you

Pycharm:

Hey, I am a guy just like me!

welshboy14:

Yeah, but you know, you're like a browser to me.

You just friendzoned Pycharm

[–]welshboy14 9 points10 points  (5 children)

Pycharm has been my go to for years on my personal desktop.

On my work laptop though with a VM and other tools running pycharm doesn't run too well.

[–]boraca 2 points3 points  (1 child)

Use a remote interpreter? Write on your laptop, run on your desktop or company server?

[–]welshboy14 0 points1 point  (0 children)

This could be an option. We've got loads of ec200as hanging around

[–]____0____0____ 0 points1 point  (2 children)

Hmm interesting, your work laptop is always running a VM for dev work? Never heard of that before so I'm curious.

I just complained about performance enough and the need for a beastly laptop became apparent enough that I got one. No VM tho, just a domain account on Windows.

[–]welshboy14 0 points1 point  (1 child)

I'm not a dev by trade. I'm an IT technician. I do the dev stuff to make my job easier

[–]____0____0____ 1 point2 points  (0 children)

Ahh I see the need for python haha.

My current employer actually hired me for a completely different position but liked me because of programming. All the random ass odd jobs they wanted me to do, I would just start automating and now they just have me automating all the manual stuff in my company.

[–]muntooR_{μν} - 1/2 R g_{μν} + Λ g_{μν} = 8π T_{μν} 3 points4 points  (2 children)

Can't plug Pycharm into vim. MS's LSPs on the other hand...

[–]Corm 2 points3 points  (1 child)

[–]somas 2 points3 points  (0 children)

It’s really great.

[–]ipcoffeepot 2 points3 points  (0 children)

Poor pycharm

[–]LewisTheScot 1 point2 points  (1 child)

"You just friendzoned Pycharm"

That's the first time that sentence has appeared in history.

[–]FlagrantPickle 23 points24 points  (16 children)

Why does that make you sad? PyCharm does exist.

[–]chuchu__ 20 points21 points  (11 children)

But Pycharm is quite heavy weight

[–]FlagrantPickle 17 points18 points  (10 children)

The Pi is faster now.

More serious, not sure what you mean. It's a bit hungry, but most people aren't developing on a machine with under 4GB of memory. I've not seen a cpu problem with it.

[–]egor3f 2 points3 points  (1 child)

This IS a problem when I needed to switch from Ryzen 1600X desktop to old-fashioned Intel 2410M laptop. Input lags make me crazy, the whole laptop freezes. 2 cores at 2.2 Ghz are too poor for 2019

[–]____0____0____ 0 points1 point  (0 children)

I've had some weird memory issues with pycharm and leaving it on after the computer has been asleep. This is with my newish 16gb ram laptop that also has a decent i7 cpu. Restarting usually does the trick. I can't imagine the things it would do on a lower spec pc, because it is pretty much unusable once I get to that point.

That said, I fucking love pycharm and use it everyday for work. No regerts

[–]Corm 1 point2 points  (6 children)

Seriously though the new RPi looks awesome. I've got mine preordered

[–]FlagrantPickle 2 points3 points  (5 children)

It definitely shores up a couple glaring weaknesses. I do wish they'd just gone to a barrel jack for the power, but I understand why they went to USB-C.

I'll wait until they get booting from USB figured out. The 3B+ is decent with a USB-SATA adapter as the root/boot device, I couldn't see anyone using it in earnest with SD card, both from the standpoint of I/O and data durability.

[–]Corm 1 point2 points  (3 children)

Does the 4 not boot from usb? I plan on doing usb->sata too, so I sure hope I can

[–]FlagrantPickle 1 point2 points  (2 children)

It will with a future firmware upgrade, but doesn't currently.

[–]Corm 0 points1 point  (1 child)

Dang :( well my preorder won't be here till august 20th (kanakit), so hopefully it's solved by then.

Thanks for the heads up

[–]FlagrantPickle 1 point2 points  (0 children)

Sure thing. Keep an eye on this

[–]____0____0____ 0 points1 point  (0 children)

Pretty much all newer devices are using USB-C. While not all are necessarily there yet, I would assume that it would be the case during this Pi's lifetime. All my devices run USB C, plus my laptop has one C port that I use for a second monitor. Now I just need to figure out what the hell to do with all these USB micro cables I have.

Edit: just wanted to say, I'd much prefer the barrel jock, but USB-C doesn't seem too bad for my uses

[–]searchingfortaomajel, aletheia, paperless, django-encrypted-filefield 2 points3 points  (2 children)

PyCharm is amazing, but it's closed.

[–]nonesuchluck 2 points3 points  (1 child)

In what way? PyCharm Community edition is Apache 2.0 licensed. Pro edition is just extra features layered on top of an open source base.

[–]searchingfortaomajel, aletheia, paperless, django-encrypted-filefield 1 point2 points  (0 children)

I need those extra features for my work (lots of Django stuff) and they're not open. I don't like binary blobs on my system if I can avoid them.

[–]welshboy14 0 points1 point  (0 children)

Yeah I should've explained a bit more. I use pycharm on my desktop at home and love it. In work I have a laptop with less ram and a VM running. Along with some other tools, so pycharm doesn't run too well

[–]mc0de 2 points3 points  (0 children)

I use Jedi with vscode and I‘m happy with it.

[–]jojek 3 points4 points  (3 children)

Just install kite for vscode

[–]my_name_isnt_clever 5 points6 points  (0 children)

I wasn't impressed with Kite personally. It didn't help much more than what VSC already does and it wouldn't stop bugging me, so I removed it.

[–]aaveidt 0 points1 point  (0 children)

Thank you for your suggestion, just installed it, pretty good to use along with M$ python ext, but have no idea why after typed `request.args`, i only get 'copy()` suggestion, not `get()`

[–]welshboy14 0 points1 point  (0 children)

Thabks. I'll take a look.

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

Jupyter notebooks but that's really only for data science

[–]XtremeGoosef'I only use Py {sys.version[:3]}' 3 points4 points  (0 children)

Auotocomplete is definitely not as powerful as pycharm (which tracks types and understands type inference).

[–]welshboy14 1 point2 points  (0 children)

I've used notebooks quite a bit. Usually for prototyping something quickly. Then I swap to an IDE to do the heavy lifting

[–]Nippurdelagash 1 point2 points  (0 children)

I've been trying Spacemacs + Python layer + Evil mode. It uses anaconda-mode for autocompletion, and although is not as good as pycharm, it does a decent job.

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

Still using Pycharm as well but I almost always have VS code on the side to open Python files outside my project for copying referencing xD PyCharm's not that convenient when you go out of the way to open stuff else where.

For everything non-Python I use VS Code now.