From b3f349d7919707d660ae671aaa2e006887a03dce Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 16 Nov 2017 17:34:35 +0100 Subject: [PATCH] Add a .editorconfig file This file makes it so that the coding style can be codified at least a little bit. (Visual Studio 2017 will pick up on it immediately, Visual Studio 2015 will need the EditorConfig extension from the marketplace). Signed-off-by: Johannes Schindelin --- .editorconfig | 5 +++++ example/console-example/WinToast Console Example.vcxproj | 3 +++ .../console-example/WinToast Console Example.vcxproj.filters | 3 +++ 3 files changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..96094ba --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +[*.{cpp,h}] +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true +charset = utf-8 diff --git a/example/console-example/WinToast Console Example.vcxproj b/example/console-example/WinToast Console Example.vcxproj index 717c12e..9b01128 100644 --- a/example/console-example/WinToast Console Example.vcxproj +++ b/example/console-example/WinToast Console Example.vcxproj @@ -91,6 +91,9 @@ + + + diff --git a/example/console-example/WinToast Console Example.vcxproj.filters b/example/console-example/WinToast Console Example.vcxproj.filters index 6d9e961..88dbcfb 100644 --- a/example/console-example/WinToast Console Example.vcxproj.filters +++ b/example/console-example/WinToast Console Example.vcxproj.filters @@ -32,4 +32,7 @@ Resource Files + + + \ No newline at end of file