#๐Ÿ”’ im new to python, and i had like autocomplete text option when i type something out now i dont

44 messages ยท Page 1 of 1 (latest)

echo pawnBOT
#

@static pilot

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.

sharp edge
#

This kind of thing is usually an artifact of your IDE. What are you using to write your Python code?

static pilot
#

vsc

sharp edge
#

Have you got the "python extension" installed?
Did it ... stop working at some point?
Disclaimer: I don't use VSCode so my advice will be pretty generic.

static pilot
#

i have python extension installed yes, and it was working a some point a couple weeks ago, but i unistalled everything

sharp edge
static pilot
sharp edge
#

Oh. Frustrating.

#

Have pinged #python-discussion , see if anyone else has useful advice.

Does it have an on/off "enable" switch somewhere? Just speculating.

static pilot
#

thanks, yeah at the top of the image it says disable so im assuming its enabled

sharp edge
#

Try toggling it. "disable" aand test, then reenable and test (just in case it means the opposite of what you think).

#

Have you selected a python interpreter?

static pilot
#

i have but i may have the wrong one selected

sharp edge
#

DanS said :

Turn it off and on again? (Uninstall and reinstall...)

Generic advice ๐Ÿ™

vast hollow
#

It's exactly the same but without telemetry, if the only solution y'all got was to reinstall, maybe this is better?

sharp edge
# static pilot i have but i may have the wrong one selected

Well, worth fiddling with. Also maybe check what Pylance is configured with (for some reason it's own "what python" stuff is distinct from the interpreter you pick, leading to much confusion).
Pylance link: https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance

I get the impression it's bundled with the python extension.

Pylance is what sticks those coloured highlights in your code I think.

vast hollow
static pilot
#

ill have a look

sharp edge
vast hollow
sharp edge
#

The initial symptom was autocomplete not working, but I can imagine both come from the same LSP thingy.

vast hollow
static pilot
sharp edge
#

BTW, the pylance page says:

Under the hood, Pylance is powered by Pyright, Microsoft's static type checking tool.
FWIW.

#

Oh, also in the quick start:

Note: If you've previously set a language server and want to try Pylance, make sure you've set "python.languageServer": "Default" or "Pylance" in your settings.json file using the text editor, or using the Settings Editor UI.

vast hollow
vast hollow
sharp edge
#

I was wondering if it had just been "turned off" somehow. Misconfigured, whatever.

vast hollow
static pilot
#

tbh, i might just switch to a differnt software to run python

#

any suggestions

vast hollow
#

VS Codium is a fully open source version of VS Code, without any microsoft bundled telemetry or other stuff

#

Aside from telemetry and some microsoft exclusive extensions, everything is the same

static pilot
#

alr is it easy to navigate?

vast hollow
#

but without microsoft added stuff

echo pawnBOT
#
Python help channel closed using Discord native close action

This help channel has been closed. 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.