[Python] How to prevent PyCharm's "Find in Files" to search the Python interpreter libraries?

Discussão em 'Python' iniciado por Stack, Março 2, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to find some pattern within files like my project's setup.py / setup.cfg', rio.yaml. Our code .. So within the Find in Files dialog I selected the Directory option. However the python libraries are still being searched:

    [​IMG]

    That was a surprise: I had expected those to only show up if the Project were selected. So how can the Python libraries be excluded?

    I have even manually excluded the virtual environment (.venv and friends) directories.

    [​IMG]

    The files are still being searched under that .venv directory

    [​IMG]

    I am on PyCharm Professional 2021.3.1.

    Continue reading...

Compartilhe esta Página