-
Notifications
You must be signed in to change notification settings - Fork 133
How to have parameters and docs showing for code installed with codan develop or pip -e . #2088
Comments
I have installed multiple packages in development mode. See my python path:
However when I try to auto-complete to see docs, parameters etc for my own project it does not work (note intellicode does seem to suggest sensible things for Pytorch for the moment so I assume that is working and the docs for I press
in addition it does not shows a preview of the parameters or the docs (e.g. the docstrings I wrote for my own code). I am mainly using I saw other resources like:
but they don't seem to work for me. Besides, if I already have my packages installed in my conda environment as the print of the python environment path shows, I don't understand why I need to tell vscode manually again about them. How can we make the IntelliSense feature work for my own code installed in editable mode? |
@jakebailey I have an issue where I can go to the declaration of the project in one place but not in the other (and also it never gives me suggestions for project I installed myself with What should I do? e.g.
with 1 I CANNOT go to the declaration with a right click but I CAN with 2 when I go to |
You used the question template, the issue template asks for a lot more info. The trace logs would be important to look at, for the paths being used. https://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#filing-an-issue |
there were no indications of that when I opened this issue fyi. I always check that sort of thing carefully. |
Please, provide logs. The page I linked has the settings to enable trace logging and where to find it in VS Code. |
I will, sorry if I missed the instruction, I usually don't. Meanwhile I have a question. If I open everything from my home directory were all my projects are, will that allow illi-code, the language server etc all those nice features work better? |
I have code I developed myself I can never see the definition of it as I type. How can I get help?
The text was updated successfully, but these errors were encountered: