Sharing your IntelliJ, RubyMine, Webstorm codestyle among developers

Assuming you have .idea in your .gitignore settings, the way to export the code style is to either export your settings using the File ==> Export Settings…

Then find the file you want…

  1. Expand the zip
  2. Locate the file
  3. Transfer to team members

Then your team members will need to:

  1. Quit RubyMine
  2. Copy the XML file to this location on their machine ~/Library/Preferences/RubyMine70/codestyles
  3. Restart RubyMine
  4. Go to Settings, Code Style, and pick the new code style. Hopefully, you didn’t have a name conflict. Note, the name used is what’s inside of the XML file, not the file name.