You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Please see screenshots below from PyCharm and VS Code respectively.
As you can see the list of hints in PyCharm is more accurate.
This is also the case below when accessing a django model's fields. PyCharm is able to detect that the value will actually be a string whereas VS Code only knows it as a CharField.
There's a pretty tremendous amount of work in this item; Django models are all metaclass based where everything is generated at runtime, requiring us to essentially reimplement Django again in the analysis as special cases. There are stubs which provide richer info, but require a much better understanding of typing in general (which don't have complete).
Either way, if we aren't actively updating an issue, then there aren't any updates.
the new jedi 0.17.1 release now supports Django Meta Classes and added Django Stubs.
If possible upgrade it to the newer version and harness the power of it into vscode-python.
No updates on this? It's really frustrating having to check the documentation for every single property or method I want to use, I just want to press ctrl + space and get to know the things I can use and don't depend on myself to type it correctly...
This repo is no longer actively maintained or published. Consider using Pylance or Jedi, and filing issues for missing functionality appropriately. Pylance in particular ships stubs for Django which may help.
Thank you for the report. This project is no longer active. If you are using the Python language server in VSCode, the language server you are using is Pylance and please the http://github.com/microsoft/pylance-release to report issues.
Activity
karthiknadig commentedon Oct 22, 2018
From feedback:
SHxKM commentedon May 11, 2019
This would be lovely. Also , recognizing import errors specific to Django:
VSCode doesn't see any problem with this (until we get an error when this code is run).
Pycharm, on the other hand, complains immediately:
jakebailey commentedon May 11, 2019
F not being warned seems like a bug; we'd appreciate it if you could make a new issue so we can fix it.
elahmo commentedon May 1, 2020
Has there been any work regarding this?
Go to definition is a hit and miss with Python/Django, in most cases I have to search for
class xxx(ordef property(in order to find the definition.planetzalex commentedon May 1, 2020
Same here. This has been a problem with the language server for years.
jakebailey commentedon May 1, 2020
There's a pretty tremendous amount of work in this item; Django models are all metaclass based where everything is generated at runtime, requiring us to essentially reimplement Django again in the analysis as special cases. There are stubs which provide richer info, but require a much better understanding of
typingin general (which don't have complete).Either way, if we aren't actively updating an issue, then there aren't any updates.
HarshilPatel007 commentedon May 5, 2020
the new jedi 0.17.1 release now supports Django Meta Classes and added Django Stubs.
If possible upgrade it to the newer version and harness the power of it into vscode-python.
MikhailArkhipov commentedon May 5, 2020
LS does not use Jedi, so this issue is for the Python extension.
HarshilPatel007 commentedon May 5, 2020
Ohh, I though my query is mentioned here so I think it is related.
But, please consider the Django Framework Support.
wiredmatt commentedon Aug 14, 2021
No updates on this? It's really frustrating having to check the documentation for every single property or method I want to use, I just want to press ctrl + space and get to know the things I can use and don't depend on myself to type it correctly...
jakebailey commentedon Aug 16, 2021
This repo is no longer actively maintained or published. Consider using Pylance or Jedi, and filing issues for missing functionality appropriately. Pylance in particular ships stubs for Django which may help.
judej commentedon Apr 13, 2022
Thank you for the report. This project is no longer active. If you are using the Python language server in VSCode, the language server you are using is Pylance and please the http://github.com/microsoft/pylance-release to report issues.
If you are using Visual Studio, then, please use http://github.com/microsoft/PTVS to report issues.
devblogs.microsoft.com/python/python-in-visual-studio-code-september-2021-release/#microsoft-python-language-server-end-of-life-november-2021
thank you