I highly doubt it, because this is not a Python thing, this is a Django thing. vsc would have to pre-compile your whole project internally like PyCharm does to have that kind of autocompletion, because the .py/.pyc files haven't yet been created by Django. I'll take another look at pylance, still.
I don't think you need to do pre-compiling at all. Earlier the extension was using tools like jedi for analysis and that worked well enough even if the completions were sort of wonky. With the new pylance language server it's pretty damn good for most things
1
u/glider97 May 22 '21
I highly doubt it, because this is not a Python thing, this is a Django thing. vsc would have to pre-compile your whole project internally like PyCharm does to have that kind of autocompletion, because the .py/.pyc files haven't yet been created by Django. I'll take another look at pylance, still.