-
Notifications
You must be signed in to change notification settings - Fork 24.5k
GitIgnore PHPStorm's config directory #3877
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
Conversation
If you open a (laravel) project in phpstorm, it places a `.idea` folder in the project root. This contains project-specific ide settings. You usually don't want to include such files in a git repo.
I think this ignore must be in your global ignore not in the project ignore. |
Agree with @mul14 too, this really belongs in each developer's core.excludesfile |
I'd assume Taylor was sick of getting PRs for this so just merged it. |
Surely this isn't a big deal? If enough Netbeans or Visual Studios users feel the need for this, they could always submit a PR too. I can't think of a good reason against allowing this. |
This shouldn't be in .gitignore. What if say, one wanted a file to jot notes, they would potentially call it .idea. Just a contrived example, but should illustrate why .gitignore in a core repo shouldn't suppress anything unrelated to content that doesn't exist there already. |
But then following the same logic what if someone wants to collect something in Homestead.json? For example he/she's developing an app that keeps track of income and outgoings of a farm and wants to keep some initial data of egg production/day in that json file? Ok, maybe this is a bit absurd but I hope you get my point. There are so many defaults in laravel that try to make developers' life easier but surely they can't fit for everyone. But it's never a big deal to remove some boilerplate code, rename a file or just delete one single line from gitignore. Furthermore, I'm sure that there are more people using phpstorm than people wanting to collect ideas in that folder. |
I don't like accepting this PR and I am an avid JetBrains users. What does On Sun, Aug 14, 2016 at 7:43 AM, balping notifications@github.com wrote:
|
I'm a PHPStorm user myself and don't care either way. I've always added If PRs like this are a regular occurrence, and that's why Taylor accepted it. Maybe we should have an FAQ.md file which explains why |
If you open a (laravel) project in phpstorm, it places an
.idea
folder in the project root. This contains project-specific ide settings. You usually don't want to include such files in a git repo.