Skip to content

Instantly share code, notes, and snippets.

@LucasCalazans
Created September 22, 2021 02:44
Show Gist options
  • Save LucasCalazans/b254d8f084efbff982c513864b26611d to your computer and use it in GitHub Desktop.
Save LucasCalazans/b254d8f084efbff982c513864b26611d to your computer and use it in GitHub Desktop.
Magento 2 on PHP Storm - Configure the excluded and sources folders
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/vendor/magento" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/vendor" />
<excludeFolder url="file://$MODULE_DIR$/dev" />
<excludeFolder url="file://$MODULE_DIR$/generated" />
<excludeFolder url="file://$MODULE_DIR$/pub" />
<excludeFolder url="file://$MODULE_DIR$/setup" />
<excludeFolder url="file://$MODULE_DIR$/var" />
<excludeFolder url="file://$MODULE_DIR$/deploy" />
<excludeFolder url="file://$MODULE_DIR$/bin" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment