dist folder can't be un-excluded
I recently installed PhpStorm on my new machine and when I clone my repository from GitHub, the ‘dist’ folder is showing as excluded and I can't seem to get PhpStorm to un-exclude the folder. I'm tried right-clicking on the folder and under ‘Mark Directory As’ I pick the ‘Non Excluded’ option but the folder remains excluded as ‘Non-Project Files’. Under the Directory settings, the ‘dist’ folder is not listed in the excluded list. I've tried deleting the project and cloning the project again but I've encountered the same issue.
Please sign in to leave a comment.
Hi Alexander Jones, this is a known issue that will be fixed in the upcoming PhpStorm updates. Please check https://youtrack.jetbrains.com/issue/WEB-60460 for details.
Our apologies for the inconvenience.
dist
andbuild
folders are auto-excluded as a result of changes introduced in WEB-68312. We will see how it can be improved. Please feel free to follow WEB-70291 to be notified about updates.In the meantime, there is a workaround: you can press double Shift, type
registry
, and open theRegistry...
window. In this window, disable theexclude.generated.files.in.javascript.package.roots
key.