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.

0
2 comments

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.

0

dist and build 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 the Registry... window. In this window, disable the exclude.generated.files.in.javascript.package.roots  key.
 

1

Please sign in to leave a comment.