Coding style for non-Java files (use tabs as spaces?)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2012 07:51 AM
I wonder if there is any particular coding style for non-Java classes in the Activiti project.
My actual concern is how tabs should be handled in non-Java files, e.g. xml documents. The Activiti coding style for java (http://svn.codehaus.org/activiti/activiti/trunk/eclipse/) uses tabs-as-spaces and it would be nice to have the same policy for xml documents, too. I do not see that anywhere defined though.
Regards,
Nico
My actual concern is how tabs should be handled in non-Java files, e.g. xml documents. The Activiti coding style for java (http://svn.codehaus.org/activiti/activiti/trunk/eclipse/) uses tabs-as-spaces and it would be nice to have the same policy for xml documents, too. I do not see that anywhere defined though.
Regards,
Nico
Labels:
- Labels:
-
Archive
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2012 10:27 AM
+1! Could you maybe propose a style to the code base? Any objections?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2012 07:50 AM
spaces always has preference.
and 2 space indents.
also for non java files like xml files.
for those places where we didn't do it properly, switching to spaces might be a pain to track real differences. so i think that a general change and replace operation could bring more hassle then it solves.
nevertheless it's certainly good if everyone could set their indents to 2 spaces and no tabs.
and 2 space indents.
also for non java files like xml files.
for those places where we didn't do it properly, switching to spaces might be a pain to track real differences. so i think that a general change and replace operation could bring more hassle then it solves.
nevertheless it's certainly good if everyone could set their indents to 2 spaces and no tabs.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2012 11:31 AM
Thanks for the clarification!
