OpenMRS

Android client: Set a code style

The current way to format code is to use Android Studio's default formatter, but it's subject to change. We need a fixed formatter that everyone can straight away use when setting up a dev environment.

Steps

  1. Read this wiki and download the .xml formatter file.
  2. Refer to this post and import the scheme to the project. Make sure you're using Android Studio.
  3. Update .gitignore so that .idea/codestyles folder is not ignored. Use gitignore.io for this.
  4. Add instructions to our README.md on how to use the formatter.

Task tags

  • code style
  • android

Students who completed this task

riskycase

Task type

  • code Code
close

2019