-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intellisense expects project packages in root folder: bug or feature? #244
Comments
Yes, this is the expected behavior. |
While I think recursively scanning would be a nice perk, I did struggle a bit to figure it out the setting to tweak. |
Also agree that the recursive scanning would be a nice feature. I for example work on an Open Source project github.com/odoo/odoo which under this circumstances implies that I have to add more than 40 paths from odoo/addons to |
Could this be fixed by davidhalter/jedi#1005? |
Closing this as a duplicate of #924 |
Environment data
VS Code version: 1.18.0
Python Extension version: 0.8.0
Python Version: Python 2.7.14
OS and version: Mac Sierra - Python 2.7.14
Steps to reproduce:
the setup of my project is
etc...
Actual behavior
in a source subdirectory, I import from foo.bar, intellisense recognizes the foo module, but not the bar module or any other sub module
However, if I add this to my settings.json, all is well:
"python.autoComplete.extraPaths": [ "${workspaceRoot}/src"]
I'm not a python expert, but this is how my company structures python projects, which may be non-standard
Expected behavior
I was expecting intellisense to scan my workspace recursively and find the modules in non root folders without any help
The text was updated successfully, but these errors were encountered: