-
As far as I have understood from the documentation, you can only exclude paths from the scan. In our project, we only want to scan the java files of specific modules. Therefore, we have created a custom scope in IntelliJ, including only the Java folders of the respective modules. This works fine in IntelliJ. Is it possible somehow to reuse the scope file for the Qodana scan? If not, is therey any other way to achieve this with qodana.yaml? It is not feasible to exclude all the files except those Java files. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello, We're now working on documentation for the new feature - YAML profiles, which will allow you to use scopes similar to the ones IntelliJ has. It will become available within a month. Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
Hello,
We're now working on documentation for the new feature - YAML profiles, which will allow you to use scopes similar to the ones IntelliJ has. It will become available within a month.
As for now, you can create your scope in IntelliJ, then create an inspection profile that uses the scope and after that use generated
.idea/inspectionProfiles/<your-profile-name>.xml
and.idea/workspace.xml
from your project root.For that to work, these files should be under your project root before Qodana analysis in your pipeline. Besides, you should configure Qodana to use the custom profile.
Let me know if you have any questions.