How to exclude directories from Code inspect?

已回答

Hello,
how can I exclude directories from code inspection. I have a venv and a pipenv environment in my project root. I don't want Code inspect to dive into these directories and inspect the code. I takes forever and the fan keeps spinning.

Is it possible to simply define directories which should not be inspected?

Kind Regards

Kai

 

0

You can mark the folder as Excluded (right-click -> Mark Directory as). See https://www.jetbrains.com/help/pycharm/configuring-project-structure.html

3

In Build #IU-242.23726.103, built on October 22, 2024

This is not true, at least not in Kotlin Multiplatform projects.  I get all kinds of hits on generated code in the “shared” subproject of a Kotlin Multiplatform Wizard - generated project.

Is there another way?

0

请先登录再写评论。