diff --git a/native/WinShellIntegration/.gitignore b/native/WinShellIntegration/.gitignore
index 26a31335c442..0a052ac539db 100644
--- a/native/WinShellIntegration/.gitignore
+++ b/native/WinShellIntegration/.gitignore
@@ -4,8 +4,11 @@
!CMakeLists.txt
!README.md
+!.idea/
+!.idea/**
+
!build/
!build/**
!src/
-!src/**
+!src/**
\ No newline at end of file
diff --git a/native/WinShellIntegration/.idea/.gitignore b/native/WinShellIntegration/.idea/.gitignore
new file mode 100644
index 000000000000..82791b5c175e
--- /dev/null
+++ b/native/WinShellIntegration/.idea/.gitignore
@@ -0,0 +1,8 @@
+*
+
+!.gitignore
+
+!codeStyles/
+codeStyles/*
+!codeStyles/codeStyleConfig.xml
+!codeStyles/Project.xml
\ No newline at end of file
diff --git a/native/WinShellIntegration/.idea/codeStyles/Project.xml b/native/WinShellIntegration/.idea/codeStyles/Project.xml
new file mode 100644
index 000000000000..c8c80cc82dd8
--- /dev/null
+++ b/native/WinShellIntegration/.idea/codeStyles/Project.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/native/WinShellIntegration/.idea/codeStyles/codeStyleConfig.xml b/native/WinShellIntegration/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 000000000000..307554b77d99
--- /dev/null
+++ b/native/WinShellIntegration/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file