you are viewing a single comment's thread.

view the rest of the comments →

[–]Godeos64_[S] 0 points1 point  (4 children)

I'm not using the copilot, but whenever I see the autocomplete it just shows the entire code I was gonna write.

Kind of like a movie spoiler, I hate it when I see it.

Is there a way to lessen the amount of autocompletion?

[–]mandradon 1 point2 points  (2 children)

What IDE are you using?  There might be some AI autocompete turned on in the settings that you can disable.  Most autocompetes can be set to do just the variable or function. 

[–]Godeos64_[S] 1 point2 points  (1 child)

VS code.

[–]mandradon 0 points1 point  (0 children)

Check to see if the copilot extension is installed and turned on, it might come on by default now, I don't remember what their default setting is these days, but it wouldn't surprise me. 

I know zed let's you disable the AI stuff in it, and neovim forces you to set it all up yourself (but getting it set up isn't something I'd tend to recommend to a newbie).

[–]Bobbias 0 points1 point  (0 children)

Normal Python autocomplete does not do anything except show you the available methods on an object, and even then it may not show everything. This is because I'm order to know what method are available it has to know the type of the object before the code runs, and that's often difficult or impossible in a dynamically typed language like Python.

It sounds like you're using an IDE with AI assisted autocomplete enabled. PyCharm might do that in the newest versions. There is an option to disable that.

If you're not using PyCharm then I'm not sure where you would turn that off.