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

Update JetBrains.gitignore #3021

Closed
wants to merge 1 commit into from
Closed

Update JetBrains.gitignore #3021

wants to merge 1 commit into from

Conversation

OvidiuBujor
Copy link

Reasons for making this change:

TODO

Links to documentation supporting these rule changes:

TODO

If this is a new template:

  • Link to application or project’s homepage: TODO

Copy link
Member

@shiftkey shiftkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't merge this in it's current form without more context, for a few reasons:

  • it adds rules that exist (or should exist) in other templates that are separate to the JetBrains IDEs
  • it overlaps with some existing opt-in rules in the template
  • it excludes files that could be version controlled and shared in a team

@@ -44,6 +44,16 @@ cmake-build-*/
# IntelliJ
out/

# Eclipse
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These rules are already captured in Global/Eclipse.gitignore.

# Intellij
.idea/
*.iml
*.iws
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This rule is a duplicate from the existing rule on line 42.

@@ -64,3 +74,7 @@ fabric.properties

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser

# Maven
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please submit a fresh PR with context into this template if you have Maven-specific changes to propose: Maven.gitignore


# Intellij
.idea/
*.iml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a section earlier in the template that talks about additional rules that can be enabled when you are using Maven, which might be relevant:

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/modules.xml
# .idea/*.iml
# .idea/modules

.settings/

# Intellij
.idea/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The start of this file has a set of more explicit exclusions inside .idea/ for things that should not be version controlled, and this rule here will ensure everything else is excluded. I'm still in favour of committing things that can be shared, based on the guidance from JetBrains here: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

@OvidiuBujor
Copy link
Author

OvidiuBujor commented Apr 7, 2019 via email

@shiftkey
Copy link
Member

shiftkey commented Apr 7, 2019

@OvidiuBujor no problem!

I'm going to close this out but feel free to submit other pull requests in the future if you think there are opportunities to improve these templates.

@shiftkey shiftkey closed this Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants