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

Formatting your code #19

Closed
avoitishin opened this issue Dec 9, 2014 · 4 comments
Closed

Formatting your code #19

avoitishin opened this issue Dec 9, 2014 · 4 comments

Comments

@avoitishin
Copy link
Contributor

Nitro - are you using Astyle to format code? If so, please share your settings

@nitrocaster
Copy link
Member

I used Astyle along with builtin VS formatter to fix reference code formatting. The main reason is that all upcoming commits wont include style fixes so diffs are going to be nice and clear. Since we have now all code well formatted (almost all, there're still some minor issues because that autoformatting hasn't worked out perfectly) you just write your new code and follow our coding conventions.

@avoitishin
Copy link
Contributor Author

Strange, almost every file I edit still have original (GSC) formatting that is all over the place when it comes to styles: tabs, extra spaces, keyword placements, etc. In any case, I have tweaked my VS formatter to match what's in your guidelines and am formatting code as i go.

@nitrocaster
Copy link
Member

All right, I've only fixed xrCore and xrEngine formatting. It would be great if you fix the rest. I'll check my formatter settings and post them here.

@andrew-boyarshin
Copy link
Contributor

@nitrocaster @Armada651 close this one? Thanks to #155 and #169.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants