From 84e11e4236b09ce27a804b734ea4b362a9a19b9c Mon Sep 17 00:00:00 2001
From: Alex Plate <aleksei.plate@jetbrains.com>
Date: Fri, 28 Jun 2024 17:25:56 +0300
Subject: [PATCH] Add useful .idea files to git

.name will show the correct name "IdeaVim" in IJ
`misc.xml` contains information about the annotations that should be considered as "EntryPoints" for the function. With this, they'll not be marked as unused
---
 .gitignore     |  2 ++
 .idea/.name    |  1 +
 .idea/misc.xml | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 .idea/.name
 create mode 100644 .idea/misc.xml

diff --git a/.gitignore b/.gitignore
index d0a300559..d794bc32e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,8 @@
 !/.idea/runConfigurations
 !/.idea/codeStyles
 !/.idea/vcs.xml
+!/.idea/misc.xml
+!/.idea/.name
 
 **/build/
 **/out/
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 000000000..08bd8c821
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+IdeaVim
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 000000000..ab99fc687
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="EntryPointsManager">
+    <list size="3">
+      <item index="0" class="java.lang.String" itemvalue="com.intellij.vim.annotations.CommandOrMotion" />
+      <item index="1" class="java.lang.String" itemvalue="com.intellij.vim.annotations.ExCommand" />
+      <item index="2" class="java.lang.String" itemvalue="com.intellij.vim.annotations.VimscriptFunction" />
+    </list>
+  </component>
+  <component name="ExternalStorageConfigurationManager" enabled="true" />
+  <component name="FrameworkDetectionExcludesConfiguration">
+    <file type="web" url="file://$PROJECT_DIR$" />
+  </component>
+  <component name="MavenProjectsManager">
+    <option name="originalFiles">
+      <list>
+        <option value="$PROJECT_DIR$/.teamcity/pom.xml" />
+      </list>
+    </option>
+  </component>
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="corretto-17" project-jdk-type="JavaSDK" />
+</project>
\ No newline at end of file