Page 1 of 1

Editorconfig

Posted: 19 Aug 2017, 18:23
by AnyOldName3
A bunch of IDEs and text editors either have native support for EditorConfig or support it via a plugin. Adding a .editorconfig file to the OpenMW git repository should reduce the chances of any bother caused by using the wrong indentation type, for example. My first big pull request was tripped up by having mismatched indentation as my IDE decided to use a different style than the one already used by the files I was working on, and it had to be noticed by the CI system. Since then, I've had an EditorConfig file in my local clone, and everything has 'just worked'.

More information is here: http://editorconfig.org/

I'm probably going to go and set up a pull request for this now.

Re: Editorconfig

Posted: 19 Aug 2017, 19:39
by AnyOldName3
Here's a PR: https://github.com/OpenMW/openmw/pull/1407

Something broke with the CI, and it doesn't look like it's got anything to do with the thing I changed.

Re: Editorconfig

Posted: 20 Aug 2017, 00:04
by AnyOldName3
It's been merged now, so I guess that Scrawl agrees with the idea.