Stop continuous indexing of libs directory in PyCharm

Answered

Any application using Google App Engine requires a directory, 'lib', containing third-party Python libraries. This directory is required by the local development server (dev_appserver.py) and is created by running:

pip install -r requirements.txt -t lib/

However, PyCharm will attempt to index this directory, which takes a significant amount of time.

In order to stop PyCharm from indexing the 'lib' directory, right-click on this directory and select Mark Directory as, then Excluded. This directory will now no longer be indexed by PyCharm.

0
1 comment

Hello Nickolas,

We have a request for "Library" folders on YouTrack: https://youtrack.jetbrains.com/issue/PY-18907. This feature might also contain "inder on/off" setting. Feel  free to vote for it and leave comments.

0

Please sign in to leave a comment.