#πŸ”’ Looking for a lightweight IDE that at least have type hinting for (Arch)Linux

15 messages Β· Page 1 of 1 (latest)

onyx plaza
#

Hello! I'm currently looking for an IDE that has type hinting for my crappy laptop (has 1 GB of RAM and its a Baytrail). Syntax highlighting wasn't enough for me as I need to find what methods and properties are under a particular type or class object a certain variable contains.

VS Code was my first choice but, as per usual, the OSS version doesn't have Pylance, not to mention it stutters a lot when doing simple stuff on it like scrolling and opening a new terminal. Considering I wanted it to be lightweight, I decided to look for a different one as the other version (the one with telemetey stripped) is also prohibted to have Pylance.

I did try Spyder (PyCharm was my first thought 2nd choice, then I saw the sys reqs: 2 GB RAM), but I got frustrated at the internal console setup; I can't install version 3.1.0.dev0 of spyder-kernels that its looking for, which doesn't exist. So I gave up on it.

Any good IDE suggestions? Btw, I'm just gonna use it for pygame atm.

novel ginkgoBOT
#

@onyx plaza

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

bitter olive
#

1gb of ram is very little
you should try to decrease your ram usage as much as possible
you could try to use zram, it compresses your memory so you can get a bit more space out of it
a swap file might also help
changing from a DE to a WM also helps

i dont think any ide will run well with 1gb of ram

#

you could try some cli applications to write your code
i sometimes use micro but i dont think it has type hinting

warm hound
#

It should also work in vim, helix, Sublime Text and emacs

#

Pyright (and its derivatives) is pretty much the only alternative to the JetBrains analyzer

#

Actually, jedi also exists

onyx plaza
#

ah thanks

#

so i just install it via pip and it just works?

#

or is it also an archlinux/AUR package too?

warm hound
novel ginkgoBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.