Is this correct?
# random
j
Is this correct?
👍 3
💡 2
e
Generally correct. I usually check in the code style directory though
g
Yeah, it's correct in general. But sometimes there are files in
.idea
that should be shared via VCS. For example, file
icon.png
(
icon.svg
, etc.; for example

there is one

in Kotlin repo) that is used as the project icon in projects list in IDEA or Toolbox or folders
scopes
and
copyright
that are particularly used for automated copyright generation (for example, we store only them in KMath). P.S. Some of IDEA settings are IDEA project settings, so it's better to store them in VCS. For other settings I think the next comment has better reasoning.
r
If you have things like code styles you want to share you can check them into a separate repo and add it as a Settings Repository (you'll have to ensure everyone on your team does this): https://www.jetbrains.com/help/idea/sharing-your-ide-settings.html
o
I‘d miss run configurations stored as project files.
g
Just found myself regretting that I did not add
.idea/vcs.xml
to VCS. Because it contains definitions of issue navigations. And I recently removed
.idea
, so there is no definition saved in VCS and I had to define them again.