diff --git a/.gitignore b/.gitignore
index fdb114e7020..cfec97e5ab9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,34 +24,34 @@ javaconfig.json
build/
# Ignore Gradle GUI config
-gradle-app.setting
+gradle-app.setting
-## Directory-based project format:
-.idea
-# if you remove the above rule, at least ignore the following:
-
-# User-specific stuff:
-# .idea/workspace.xml
-# .idea/tasks.xml
-# .idea/dictionaries
+# Ignore all xml in idea (keep codeStyles)
+.idea/*.xml
+
+## Directory-based project format:
+# User-specific stuff:
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/dictionaries
# Sensitive or high-churn files:
-# .idea/dataSources.ids
-# .idea/dataSources.xml
-# .idea/sqlDataSources.xml
-# .idea/dynamic.xml
-# .idea/uiDesigner.xml
+.idea/dataSources.ids
+.idea/dataSources.xml
+.idea/sqlDataSources.xml
+.idea/dynamic.xml
+.idea/uiDesigner.xml
# Gradle:
-# .idea/gradle.xml
-# .idea/libraries
+.idea/gradle.xml
+.idea/libraries
# Mongo Explorer plugin:
-# .idea/mongoSettings.xml
+.idea/mongoSettings.xml
## File-based project format:
@@ -62,8 +62,7 @@ gradle-app.setting
## Plugin-specific files:
# IntelliJ
-out/
-*.iml
+out/
# mpeltonen/sbt-idea plugin
.idea_modules/
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 00000000000..b5705ab6428
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 00000000000..79ee123c2b2
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file