mbonnin
10/04/2022, 2:38 PMbuild
folders from search results? I've browsed a bunch of stack overflow answers and the easiest way seems to be to add build
to the list of ignored folders. But this has a number of drawbacks like the fact that it seems to be a global and also more importantly removes build
from the project explorer completely so it's not possible to go in generated files for an example. How do you do this?wasyl
10/04/2022, 3:11 PMExclude generated code
scope:
!file:*build//*&&!file:*intermediates//*&&!file:*generated//*&&!lib:*..*&&(file:*.kt||file:*.xml)
but while it works, it’s often not selected by default. Also for some reason generated/build files often appear in my search even though the project is still indexingwasyl
10/04/2022, 3:13 PMmbonnin
10/04/2022, 3:16 PMmbonnin
10/04/2022, 3:18 PMexclude scope
, see how that goes, thanks for the hint 🙏Sam
10/04/2022, 3:44 PMbuild.gradle.kts
which uses the Gradle IDEA plugin to try and exclude a bunch of directories, like:
idea {
module {
excludeDirectories(...
But I didn’t write that code and I’m not 100% sure if it actually works or not…