Skip to content

Improve built-in example comments #6496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Jul 18, 2017
Merged

Improve built-in example comments #6496

merged 11 commits into from
Jul 18, 2017

Conversation

per1234
Copy link
Collaborator

@per1234 per1234 commented Jul 15, 2017

These changes are solely for consistent formatting and typo fixes. There are no changes to the content of the comments or the code.

  • Fix typos in comments and .txt files
  • Consistent formatting
  • Auto Format friendly formatting
  • Wrap comments at 80 characters

All sketches compiled successfully with the hourly build of the Arduino IDE:
https://travis-ci.org/per1234/Arduino/builds/253971014

per1234 added 11 commits July 14, 2017 17:56
A single newline at the end of the examples was most common so I fixed all examples that did not follow this convention.
…nt lists

Tools > Auto Format in the Arduino IDE removes asterisks from the start of every line in a C style comment, causing that character to be unsuitable for use as a bullet for lists in the example comments.
…st two spaces

This is required for Auto Format compatibility because it has the undesirable effect of indenting only unindented contents of multi-lline comments, thus altering the relative indentation of the text.

The exception is the Max/MSP patches as I did not know whether indentation would break them.
The only changes I left out are the Max/MSP patches because I don't know whether the indentation would break them.
@cmaglie cmaglie merged commit 5f86bdd into arduino:master Jul 18, 2017
@cmaglie
Copy link
Member

cmaglie commented Jul 18, 2017

Thank you!

@cmaglie cmaglie added this to the Release 1.8.4 milestone Jul 18, 2017
@per1234 per1234 deleted the improve-example-comments branch July 18, 2017 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants