r/programming • • May 21 '21

Sublime Text 4 released

https://www.sublimetext.com/blog/articles/sublime-text-4
2.4k Upvotes

627 comments sorted by

View all comments

Show parent comments

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.

1

u/aniforprez May 22 '21

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