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.
请先登录再写评论。
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.I have the same problem.
In my project, I most often have to work with the “dist” folder, and the fact that your program is now broken is not cool at all.
I've updated to 2024.3.4 and this problem is still relevant. This is the second update in which this problem is not fixed. Shouldn't such bugs be fixed first?