Housekeeping: Update dependencies - Nov 25'#15
Conversation
| .idea/modules.xml | ||
| # Comment next line if keeping position of elements in Navigation Editor is relevant for you | ||
| .idea/navEditor.xml | ||
| .idea/* |
There was a problem hiding this comment.
Since we already have specific .idea patterns, what is the idea behind wildcard? Are specific idea rules even needed then?
There was a problem hiding this comment.
I just added it on top of already existing ignore rules, specific rules are not needed then, but I don't think it is a big problem
There was a problem hiding this comment.
Ignoring the entire .idea folder is a bit of a nuclear option and not recommended by Jetbrains
There was a problem hiding this comment.
Well I guess then we will improve the rules
There was a problem hiding this comment.
I would consider doing a bit of a hybrid approach as outlined in the article:
https://blog.sebastiano.dev/anatomy-of-a-gitignore/
Since I noticed some plugins like to put stuff in .idea that should not be shared, so I do think it's more practical to ignore by default, but intentionally un-ignore some stuff that should be shared.
There was a problem hiding this comment.
What do you think about this config?
related IDE config:
*.iml
*.ipr
*.iws
/.idea/*
# Exclude non-user-specific stuff
!.idea/.name
!.idea/codeInsightSettings.xml
!.idea/codeStyles/
!.idea/copyright/
!.idea/dataSources.xml
!.idea/detekt.xml
!.idea/encodings.xml
!.idea/externalDependencies.xml
!.idea/file.template.settings.xml
!.idea/fileTemplates/
!.idea/icon.svg
!.idea/inspectionProfiles/
!.idea/runConfigurations/
!.idea/scopes/
!.idea/vcs.xml
These are files I am getting as diff before nuclear option of ignoring whole .idea folder:
Looking at what they do, it might be useful to keep (but nothing super important):
.name
runConfigurations.xml
kotlinc.xml
AndroidProjectSystem.xml
There was a problem hiding this comment.
I think some of those exclusions might be outdated, such as the runConfiguration folder, which I don't see nowadays and instead only see the .xml file 🤔 same with detekt.xml, we keep detekt rules elsewhere. But I do agree with your list of exclusions!

Summary
Just housekeeping, updating project and dependencies
Changes
Type
Additional information
Description
Checklist
Additional notes