I dont have intellisense in django while im using vscode
my vscode doest have intellisense for these things:
- settings.py:
Ihave no intellisense in that file
- importing settings:
when i do this:
from django.conf import settings
a = settings. # i have no intellisense after the dot too
- saving objects:
when im using filter , get and etc in .objects i dont i have any intellisense. For example:
from .models import Account
user: Account = Account.objects.get()
# i dont have any intellisense in get method even with filtering with Q method
I try installing extenstions like django django-intellisense, django template but they dont work, also i try using mypy and django-stubs but they dont work too, and i try changing my vscode settings but none of them worked.
my settings:
{
"djangointellisense.projectRoot": "C:/path/myprojectname",
"djangointellisense.settingsModule": "myprojecctname.settings",
"djangointellisense.debugMessages": false,
"python.languageServer": "Jedi",
"python.analysis.extraPaths": ["C:/path/myprojectname"],
"python.autoComplete.extraPaths": ["C:/path/myprojectname"],
"python.analysis.autoImportCompletions": true,
}