Editorconfig

Everything about development and the OpenMW source code.
Post Reply
User avatar
AnyOldName3
Posts: 546
Joined: 26 Nov 2015, 03:25

Editorconfig

Post by AnyOldName3 » 19 Aug 2017, 18:23

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.

User avatar
AnyOldName3
Posts: 546
Joined: 26 Nov 2015, 03:25

Re: Editorconfig

Post by AnyOldName3 » 19 Aug 2017, 19:39

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.

User avatar
AnyOldName3
Posts: 546
Joined: 26 Nov 2015, 03:25

Re: Editorconfig

Post by AnyOldName3 » 20 Aug 2017, 00:04

It's been merged now, so I guess that Scrawl agrees with the idea.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests