[vlc-devel] [PATCH] code: add EditorConfig file so we edit in a consistent way acros IDEs

Steve Lhomme robux4 at ycbcr.xyz
Tue Mar 5 13:43:57 CET 2019


On 3/5/2019 1:19 PM, Thomas Guillem wrote:
> On Tue, Mar 5, 2019, at 12:53, Steve Lhomme wrote:
>> see https://editorconfig.org/
>>
>> There's even a vim plugin
>> ---
>>   .editorconfig | 8 ++++++++
>>   1 file changed, 8 insertions(+)
>>   create mode 100644 .editorconfig
>>
>> diff --git a/.editorconfig b/.editorconfig
>> new file mode 100644
>> index 0000000000..e8daad1123
>> --- /dev/null
>> +++ b/.editorconfig
>> @@ -0,0 +1,8 @@
>> +root = true
>> +
>> +[*.{c,cpp,cxx,m}]
>> +charset = utf-8
>> +end_of_line = lf
> if and every loop, no ?
>> +insert_final_newline = true
>> +indent_style = space
>> +indent_size = 4
> Its there something to prevent Hungarian notation and crazy space after a parenthesis ?


No, it's actually very basic, hence the wide support. It's language 
agnostic too.


More information about the vlc-devel mailing list