Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

cookpad/android-code-style

Repository files navigation

IDE settings for Cookpad Android Style

This is an Android Studio settings for the Cookpad coding style standard.

To introduce this settings, save the codeStyleSettings.xml to .idea/, add !.idea/codeStyleSettings.xml to .gitignore, and restart Android Studio.

# in an android project:
curl -L "https://raw.githubusercontent.com/cookpad/android-code-style/master/.idea/codeStyleSettings.xml" > .idea/codeStyleSettings.xml
# restart Android Studio!
# .gitignore
.idea/*
!.idea/codeStyleSettings.xml

If you want to apply this settings for all projects, execute below script and restart Android Studio.

# for macOS
curl -L "https://raw.githubusercontent.com/cookpad/android-code-style/master/ideaPreferences/codestyles/CookpadStyle.xml" > ~/Library/Preferences/AndroidStudio<version>/codestyles/CookpadStyle.xml
curl -L "https://raw.githubusercontent.com/cookpad/android-code-style/master/ideaPreferences/options/code.style.schemes.xml" > ~/Library/Preferences/AndroidStudio<version>/options/code.style.schemes.xml
# restart Android Studio

See Also

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages