Re: [osg-users] EditorConfig file?

2019-03-14 Thread Chris Djali
I just grepped the repo for tabs just in case, and found that that's not entirely accurate. There are a few files where tabs have snuck into otherwise space-indented files (which is fine - adding an editorconfig file won't meddle with existing stuff until someone edits that line), but it looks

Re: [osg-users] EditorConfig file?

2019-03-14 Thread Robert Osfield
Hi Chris, The OSG codebase uses four spaces for tabs. I don't have any strong opinions on adding EditorConfig file. Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] EditorConfig file?

2019-03-14 Thread Chris Djali
I'm fine making the pull request. I'd just like confirmation of exactly what the whitespace conventions are - I wouldn't want to set it to use four spaces for indentation for everything and then find out later that the CMake files use tabs or anything like that. The main rules are listed here:

Re: [osg-users] EditorConfig file?

2019-03-14 Thread michael kapelko
Hi. We're waiting for your pull request ;) On Thu, 14 Mar 2019 at 03:01, Chris Djali wrote: > > Hi, > > I just noticed (when looking at a local modification and realising my IDE had > added tabs to a file using spaces) that the OSG repo doesn't contain an > EditorConfig file. This is