python-language-server
python-language-server copied to clipboard
Unresolved import on current project only
Hello,
I am able to access the documentation of own libraries, but it seems that my current project are not recognized. For instance, in my python-project folder, I have: projectA -> class_1.py -> class_2.py projectB -> class_3.py -> class_4.py
If I try in class_4.py:
import projectB.class_4
import projectA.class_2
I would have "unresolved" import on projectB but not on projectA and vice versa...
My settings.json:
{
"window.zoomLevel": 0,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"editor.renderWhitespace": "none",
"python.jediEnabled": false,
"workbench.colorTheme": "Monokai",
"[python]": {
"editor.defaultFormatter": "ms-python.python"
},
"python.formatting.autopep8Args": [
"--max-line-length=400"
],
"python.envFile": "/mnt/data/work/CDYYY-Dev/python-utils/.env",
"python.autoComplete.extraPaths": ["/mnt/data/work/CDYYY-Dev/python-utils"],
"editor.mouseWheelZoom": true,
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--column_lumit=120"
],
"[java]": {
"editor.defaultFormatter": "redhat.java"
},
"java.configuration.checkProjectSettingsExclusions": false
}
Any idea why this happens?
Thank you