diff --git a/.gitignore b/.gitignore
index e7a9b8440f..a5256ecef4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,10 +12,6 @@
.classpath
.factorypath
.gradle
-!.idea/
-.idea/*
-!.idea/codeStyles
-!.idea/inspectionProfiles
.metadata
.project
.recommenders
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000000..f1e07ef8c3
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,10 @@
+.name
+*.xml
+/modules/
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
index fda7def5b9..854b5bf052 100644
--- a/.idea/codeStyles/Project.xml
+++ b/.idea/codeStyles/Project.xml
@@ -6,7 +6,7 @@
-
+