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
- Go to Preferences -> Editor -> Code Style -> Java
- Uncheck 'Use tab character in top left hand corner'
- Set tab size & indent fields to 2
- Set Continuation indent to 4
- 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"
- You need to go to File -> Project Structure
- 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
- Check the changes to the code on Github - are the variable/function names clear and written in camel case?
- Checkout to the master branch on your local machine
git checkout master
- Create and checkout to a new branch from master
git checkout -b <local_branch_name>
- Pull the branch of the pull request
git pull origin <branch_of_pull_request>
- Run Checkstyle on the branch to confirm that code conforms to standards
- Confirm that code runs from Intellij and test according to the instructions laid out in the PR
- After reviewing code, switch back to master and delete the test branch
git checkout master
git branch -D <local_branch_name>
- Add comment to feature card in Review list in Trello