Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode autocomplete for Django QuerySet.filter(property__regex='^This not autocomplete')

How to autocomplete property of Django QuerySet.filter in VSCode?

Just like it works in Pycharm Professional Edition as follow,

enter image description here

I think it's really useful, because Django use too many python magic that will make developers confused.

I only autocomplete objects in another question Pycharm can't auto complete some modules

I want to make it more powerful. And I use Django 2.2 and Python 3.6

like image 503
Ken Nieh Avatar asked Sep 17 '25 20:09

Ken Nieh


1 Answers

The Python extension for VS Code currently doesn't provide IntelliSense for anything off of objects as those are dynamically generated and thus require custom support to work.

like image 59
Brett Cannon Avatar answered Sep 20 '25 09:09

Brett Cannon