Skip to content
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

Aligning all pointer stars #103

Merged

Conversation

tonyarnold
Copy link
Contributor

The pointer stars were aligned inconsistently throughout the default templates. They have been aligned hard against the variable name or closing bracket, with a preceding space.

Happy to change this to whatever style you prefer @rentzsch, but my OCD side won't let this slide in templates I use everywhere.

The pointer stars were aligned inconsistently throughout the default
templates. They have been aligned hard against the variable name or
closing bracket, with a preceding space.
@rentzsch
Copy link
Owner

Yes, consistency is currently a mess, especially with generated @property vs method return types. I like my asterisks next to the (i)var name, unless it's standalone (like in return types or inside method param parens). This example may help: https://github.com/rentzsch/JRTruthTable/blob/master/JRTruthTable.h

@tonyarnold
Copy link
Contributor Author

Thanks, @rentzsch, I'll take those comments and roll them in to this pull request later today.

rentzsch added a commit that referenced this pull request May 10, 2012
---

The pointer stars were aligned inconsistently throughout the default templates. They have been aligned hard against the variable name or closing bracket, with a preceding space.

Happy to change this to whatever style you prefer @rentzsch, but my OCD side wont let this slide in templates I use everywhere.
@rentzsch rentzsch merged commit 8d4c609 into rentzsch:master May 10, 2012
@rentzsch
Copy link
Owner

Pulled, thanks!

ddrccw pushed a commit to ddrccw/mogenerator that referenced this pull request Jan 20, 2014
---

The pointer stars were aligned inconsistently throughout the default templates. They have been aligned hard against the variable name or closing bracket, with a preceding space.

Happy to change this to whatever style you prefer @rentzsch, but my OCD side wont let this slide in templates I use everywhere.
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.

None yet

2 participants