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

Thomas Guillem thomas at gllm.fr
Tue Mar 5 13:19:33 CET 2019


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 ?

> -- 
> 2.17.1
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list