-
Notifications
You must be signed in to change notification settings - Fork 83.1k
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
[Scala] exclude Scala IDE related .cache-main . #2068
Conversation
Exclude Scala IDE related .cache-main files.
Add exclusion for Scala IDE specific .cache-main files.
@@ -49,3 +49,6 @@ local.properties | |||
|
|||
# Code Recommenders | |||
.recommenders/ | |||
|
|||
# Scala IDE specific (Scala & Java development for Eclipse) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is already covered by Scala.gitignore
, this seems to be redundant, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for review!
Generally right.. Currently most of Scala.gitignore consists of excludes for external tools (build tools, editors, IDEs), this is not an argument to have this in it though.
But I would ask for this redundancy to cover rare corner cases, when for example one opens project without local .gitignore in it.
If you are insisting on keeping Scala.gitignore clean, I'll rework my commits a little.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sherzodv yes, please move any IDE-specific rules to the relevant configuration files under Global/
. This prevents duplication and makes maintenance easier.
This is also mentioned in the CONTRIBUTING.md
document:
Please only modify one template per pull request. This helps keep pull requests and feedback focused on a specific project or technology.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shiftkey, please take a look. I've reverted a change to Scala.gitignore, so there is only a change to Eclipse.gitignore in this PR.
I'll rework Scala.gitignore in another PR: will it be OK to have all moves in a single PR, or should I remove lines from Scala.gitignore in one PR and add them to specific Global sections in other ones?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sherzodv let's keep changes to one file at a time - feel free to link related PRs so everyone can follow along
@sherzodv thanks! |
[Scala] exclude Scala IDE related .cache-main .
Originating from https://issues.scala-lang.org/browse/SI-9506. Added exclusion for Eclipse as well.