Pycharm indexes excluded files when opening other project

已回答

Hi I have a question...

I have two projects, P and Q. P contains a directory with a ton of files which I have marked as excluded. As long as I work on P, these files are not indexed and everything is fine. P also imports some functions from project Q, but not the other way round.

Nonetheless, when I open project Q, Pycharm starts indexing the excluded files from project P. I can't find any links to this directory in Q and see no reason why there should be any. Does anyone here have an dea what might be going on? 

I don't know much about the inner workings of Pycharm, so if there are some log-files or such, that I should post here to give you more information, please let me know where I can find them.

0

Hello, 

It could be that the directory of P project was added to the paths of interpreter you're using for Q project. You can check it in Settings| Project Q| Project interpreter| Press Cogwheel| More| Select your interpreter| Press button "Show paths for the selected interpreter". Please let us know about results.

0
Avatar
Permanently deleted user

Thanks! Yes, that was the cause.

0

请先登录再写评论。