Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento 2 environment access to .idea folder for URN #291

Closed
lfolco opened this issue Feb 9, 2021 · 1 comment · Fixed by #301
Closed

Magento 2 environment access to .idea folder for URN #291

lfolco opened this issue Feb 9, 2021 · 1 comment · Fixed by #301

Comments

@lfolco
Copy link

lfolco commented Feb 9, 2021

The Magento 2 environment explicitly excludes the .idea folder from mutagen. Is there a particular reason for this? As it is, you cannot run the built-in bin/magento dev:urn-catalog:generate command because of this without having to do a workaround.

@davidalger
Copy link
Collaborator

@lfolco This may have simply been an overzealous attempt at ignoring things which didn't need to be synced to avoid sync cycles where unnecessary. Checked .idea from an old large M2 project I have laying around, and it's both small and doesn't have a ton of files, so I don't see why this ignore rule needs to be there. It can certainly be removed, appreciate the suggestion.

 $ du -hs .idea/
412K	.idea/
ls -lhR .idea/
total 800
drwxr-xr-x  3 davidalger  admin    96B Jun 20  2020 codeStyles
drwxr-xr-x  4 davidalger  admin   128B Apr 20  2020 inspectionProfiles
-rw-r--r--  1 davidalger  admin   174B Apr 20  2020 misc.xml
-rw-r--r--  1 davidalger  admin   260B Apr 20  2020 modules.xml
-rw-r--r--  1 davidalger  admin   160K Jun 18  2020 php.xml
-rw-r--r--  1 davidalger  admin    56K Jun 18  2020 <redacted>.iml
-rw-r--r--  1 davidalger  admin   180B Apr 20  2020 vcs.xml
-rw-r--r--  1 davidalger  admin   168K Aug 17 17:56 workspace.xml

.idea//codeStyles:
total 8
-rw-r--r--  1 davidalger  admin   149B Jun 20  2020 codeStyleConfig.xml

.idea//inspectionProfiles:
total 16
-rw-r--r--  1 davidalger  admin   605B Apr 20  2020 Project_Default.xml
-rw-r--r--  1 davidalger  admin   128B Apr 20  2020 profiles_settings.xml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants