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

Handle indentation #4

Closed
medrimonia opened this issue Feb 18, 2013 · 1 comment
Closed

Handle indentation #4

medrimonia opened this issue Feb 18, 2013 · 1 comment

Comments

@medrimonia
Copy link
Owner

Some standards should be chosen, there's mainly three questions

  • Use a specific indentation for each language or one for all ?
  • Tabs or space ?
  • Indent size, 2, 4 or 8 ?

I think that for all our files, spaces should be preferred to tabs. But for nethack patches, we should match nethack indentation.

@medrimonia
Copy link
Owner Author

Indentation mode has been chosen :

  • Tabs are used for indentation
  • Spaces are used for alignment

Example :

...
<tab>function_call(arg1
<tab><   spaces   >arg2
<tab><   spaces   >arg3);
...

Indentation has been done on this model on some files, everyone can check on it's own and correct it now

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

1 participant