IDE not indexing the Drupal installation folder
I have a Drupal project where the IDE does not index the build directory which is set as the Drupal installation path so no classes from the Drupal core or contrib modules are found by the IDE within the project.
The option for “Mark Directory as” are: Test sources root, Sources root and Not excluded. I mark it as “Not excluded” but nothing changes. If, for example, I mark as excluded a different directory then I would have the option to “Cancel exclusion” but it doesn't happen for the build directory.
Please sign in to leave a comment.
Hi Beldean Ale,
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.Thank you Anastasiia Zyrianova for the quick reply.
The workaround works.