From e066a562c5bc7eae2c0bac5355df0dc767e71955 Mon Sep 17 00:00:00 2001 From: richseviora Date: Mon, 5 Sep 2016 13:07:00 -0700 Subject: [PATCH] Configuring project code style for JetBrains and other IDEs. Adding EditorConfig support. Updating .gitignore --- .editorconfig | 16 ++++++++ .gitignore | 19 +++++++++ .idea/codeStyleSettings.xml | 41 +++++++++++++++++++ .idea/ingress-intel-total-conversion.iml | 12 ++++++ .idea/inspectionProfiles/Project_Default.xml | 6 +++ .../inspectionProfiles/profiles_settings.xml | 7 ++++ .idea/modules.xml | 8 ++++ .idea/vcs.xml | 6 +++ 8 files changed, 115 insertions(+) create mode 100644 .editorconfig create mode 100644 .idea/codeStyleSettings.xml create mode 100644 .idea/ingress-intel-total-conversion.iml create mode 100644 .idea/inspectionProfiles/Project_Default.xml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..3bfaabb2 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# Specification available at: http://editorconfig.org + +# Root config file for IITC. +root = true + +[*.{js,py}] +charset = utf-8 +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true + +# Following JS code style rules do not have EditorConfig support yet: +# - Use identity operators (===) over equality operators (==). +# - Opening brace at end of line. e.g. "if(a) {", "} else {", "} else if (b) }" +# - No space between keyword and parentheses. "if(a)" not "if (a)" +# - Use single-quotes for strings, and double-quotes within strings for HTML attribute values. $('
'). diff --git a/.gitignore b/.gitignore index 55ccd51b..8caa354d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,22 @@ localbuildsettings.py *.bak *.project .pydevproject + +### JetBrains IDE Ignores ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific files: +.idea/workspace.xml +.idea/tasks.xml +.idea/dictionaries +.idea/vcs.xml +.idea/jsLibraryMappings.xml + +# Sensitive or high-churn files: +.idea/dataSources.ids +.idea/dataSources.xml +.idea/dataSources.local.xml +.idea/sqlDataSources.xml +.idea/dynamic.xml +.idea/uiDesigner.xml \ No newline at end of file diff --git a/.idea/codeStyleSettings.xml b/.idea/codeStyleSettings.xml new file mode 100644 index 00000000..0dc2a318 --- /dev/null +++ b/.idea/codeStyleSettings.xml @@ -0,0 +1,41 @@ + + + + + + \ No newline at end of file diff --git a/.idea/ingress-intel-total-conversion.iml b/.idea/ingress-intel-total-conversion.iml new file mode 100644 index 00000000..75c5adab --- /dev/null +++ b/.idea/ingress-intel-total-conversion.iml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 00000000..6501c5e1 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 00000000..3b312839 --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..257af3d1 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..94a25f7f --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file