How to stop pycharm looking for declarations in remote libraries?


Is there any way to stop indexing Remote libraries? I would like the jump to definition feature to only work on the file project.

Remote libraries are picked up from "/usr/local/lib/python2.7/dist-packages". I couldn't find a way to exclude them.
Remote libraries are under : External libraries -> remote interpereter -> Remote libraries. 

I have as well defined scope, but still it looks for declarations in Remote Libraries.




You can mark those directories as Excluded in Project Structure.

However, this is not gonna make go to declaration work with project files only. It will stop PyCharm from indexing them and code completion will not work for them.

If you would like to have such feature to work with project files only, please feel free to submit a feature request to our issue tracker using the link and let us know if you need any help.


Thanks for reply.

I am aware of Excluding directories from project structure. I couldn't do it because I don't see External libraries are under my project structure, in addition, I did not find Exclude option on right click. I am using Pycharm version 2018.2, I will share the screenshot tomorrow. 



I see. There is indeed no such possibility. We have filed an issue about that, please vote for it and follow for updates. 

See if you are not familiar with YouTrack.


Please sign in to leave a comment.