1

My VSCode editor suddenly stopped listing suggestion when am running import statements.

ie.

from django.shortcuts import render, redirect, get_object_or_404, get_list_or_404, HttpResponse

normally when I type:

from django.

it should suggest all packages in django or when I type

from django.shortcuts import

it again should suggest render, get_object_or_404 etc.

But this is not more happening. I have to painstakingly type these out myself.

please any help would be highly appreciated. Thanks a lot.

prynet
  • 31
  • 4
  • the latest PyLance needs VSC v1.50 – rioV8 Mar 07 '21 at 11:45
  • See this https://stackoverflow.com/a/53070679/6505847 – AzyCrw4282 Mar 07 '21 at 16:54
  • @prynet -Which extensions did you use? Could you please provide us with the content of your settings file "settings.json"? Since python's auto-completion function is provided by the "Python" extension, please try to reinstall it. – Jill Cheng Mar 08 '21 at 02:46

1 Answers1

0

I reinstalled VScode and was quite careful with extension installation. Everything is working fine now guys, thanks.

prynet
  • 31
  • 4