I have my C++ folder which have all the C++ codes and their corresponding binary files. I have been looking around to find a way to hide them from the explorer view of VS Code but could not find a suitable pattern as they have no extension.
I tried this in the settings.json file, but it hides everything in the folder.
"files.exclude": {
"**/*": true,
"**/*.cpp": false
}
Then I tried this, but it hides both the files.
"files.exclude": {
"**/*" :{ "when": "$(basename).cpp" }
}
So I tried this, but it hides the binary files and not the c++ files.
"files.exclude": {
"**/*.cpp" :{ "when": "$(basename)" }
}
So I thought swapping the two terms might work.
"files.exclude": {
"**/$(basename)" :{ "when": "$(basename).cpp" }
}
But it doesn't work. If anyone can suggest something.