Developer Info - michaelplazek/on-track GitHub Wiki

This page contains solutions to issues related to compatibility.

How to set the indents to comply with the Google Coding Standards

  1. Go to Preferences -> Editor -> Code Style -> Java
  2. Uncheck 'Use tab character in top left hand corner'
  3. Set tab size & indent fields to 2
  4. Set Continuation indent to 4
  5. Go back to Code Style and uncheck 'Detect and use existing file indents for editing'

"The module I pulled from Github is showing up in my file structure, but is not recognized by my project"

  1. You need to go to File -> Project Structure
  2. From here you click on the little + button in the top left hand corner of the page to add the new module to your project structure

Steps for reviewing a pull request

  1. Check the changes to the code on Github - are the variable/function names clear and written in camel case?
  2. Checkout to the master branch on your local machine
git checkout master
  1. Create and checkout to a new branch from master
git checkout -b <local_branch_name>
  1. Pull the branch of the pull request
git pull origin <branch_of_pull_request>
  1. Run Checkstyle on the branch to confirm that code conforms to standards
  2. Confirm that code runs from Intellij and test according to the instructions laid out in the PR
  3. After reviewing code, switch back to master and delete the test branch
git checkout master
git branch -D <local_branch_name>
  1. Add comment to feature card in Review list in Trello