IMO this is crucial. I work on mixed projects with Java and JavaScript, and I don’t want to have one or the other analyzed.
Otherwise, what are the exclusions used for?
Exclusions are currently applied only to automatic analysis. We made a deliberate decision early on to still allow users to analyze excluded files by manually triggering an analysis.
For example, if a file is excluded, modifying it will not trigger an automatic analysis. However, if you manually trigger an analysis on that file, it will be included.
While this behavior makes sense in isolation, it can be confusing when running a full project analysis. We agree that this is an area for improvement, and based on recent feedback, we will try improving this behavior in our next release.