How to exclude folder without delete it on sonarcloud

Normally we exclude folder by sonar.exclusions, but by this way, it will complete remove the folder on sonarcloud, i want it to be like thisstrong text,
Mean it will show - instead of delete, how can i do that?

Hey there.

Why do you want to do this?

I just want to folder each folder, easier to see, how can i do that? @Colin?

It’s not possible to have files uploaded that aren’t indexed by the scanner, and sonar.exclusions prevents files from being indexed.

Sometimes, SonarCloud will show - next to a file when that file is indexed as a test file (included in sonar.tets) or is indexed but fails to be analyzed.

Can you expand on this? I still don’t understand.