The first Processing Open Source project for r/Processing to build a calculator!
All contributions are welcome!
Make sure your commits are in accordance to the rules mentioned below, and also make sure to configure the CRLF and LF settings on your machine to avoid line ending character issues which makes it difficult to see diffs.
A .gitattributes
file has been added to take care of this but just to be completely foolproof. Ensure that you follow the steps below:
- Open up cmd and type,
git config --global core.autocrlf
, if nothing shows up then dogit config --global core.autocrlf true
- Now, make sure it worked by typing
git config --global core.autocrlf
again and you should seetrue
being written out.
More info can be found here about line ending issues and how to resolve them
If you'd like to contribute a change:
- Check out the Issues page to see if your edit resolves any open issues.
- If it does, leave a comment on the issue saying that you are working on the issue. This helps prevent multiple people from writing the same code.
- File a pull request with
OC-#
at the beginning of the title. (Where # is the Issue number your pull request works to solve)
- Indent style: "K&R"
- Use 2 spaces to indent your code, pressing
Ctrl+T
in the Processing editor should automatically format your code according to these rules.