entech281 / Season_2018

0 stars 1 forks source link

Contents

Build Status

Build Status

Java Conventions

Eclipse Preferences > Java > Code Style > Formatter > New > Name the profile to Team281 Conventions > Initialize settings with "Java Conventions" > OK > Change Tab policy to "Spaces only" > Set Indentation size to 4 > Set Tab size to 4 > OK

Terminal Help

_Instructions imply you're already in the Season_2018 directory_

To push your changes to a branch

  1. git checkout branchname
  2. git add --all
  3. git commit -m 'Enter commit message here'
  4. git push

To make a merge (pull) request

  1. Go to Pull Requests in GitHub
  2. Click on New Pull Request
  3. Select "base: master" and "compare: Your Branch Goes Here"
  4. Make a good title and description so reviewers understand your code
  5. Add people to review your code

To deploy to robot

  1. Connect to robot's WiFi hotspot
  2. ./gradlew deploy
  3. Restart Robot Code in the Driver's Station

To delete local changes

  1. git stash
  2. git stash clear
  3. Whatever command you were trying to do before git stopped you due to merge conflicts or incompatabilities with your files

Eclipse Help

Eclipse has lost its mind! - Dave Cowden

Fix Eclipse 101

  1. cd (directory you want to be in)
  2. ./gradlew clean
  3. ls -la
  4. rm -rf .classpath .project .settings
  5. ./gradlew eclipse
  6. Open eclipse and browse to directory

To format your document

Gif showing process

To run a test

Gif showing process

Helpful Information

External Links

Back to top

Last updated 2/24/18 by Santiago