Visual Studio has a really nice feature for excluding specific files. You can simply right click on any file in the Project structure and click "Exclude From Project". Alternatively, you can right click on a hidden file and click "Include In Project". There is also a button on top that toggles the visibility of "included" and "excluded" files.
Does WebStorm have a way of handling this?