From a8fc4a6487909eb24d768fb8404f14639f7b81ca Mon Sep 17 00:00:00 2001 From: Yangk Date: Thu, 16 Apr 2026 17:24:00 +0800 Subject: [PATCH] chore: update .gitignore to exclude .idea directory - Remove all .idea files from version control - Add comprehensive .gitignore for Android projects - Include IDE, Gradle, OS, and project-specific ignores This prevents unnecessary IDE configuration files from being tracked in Git. --- .gitignore | 42 ++++++++++++++++++++-------- .idea/.gitignore | 3 -- .idea/AndroidProjectSystem.xml | 6 ---- .idea/compiler.xml | 6 ---- .idea/deploymentTargetSelector.xml | 10 ------- .idea/deviceManager.xml | 13 --------- .idea/gradle.xml | 19 ------------- .idea/migrations.xml | 10 ------- .idea/misc.xml | 44 ------------------------------ .idea/runConfigurations.xml | 17 ------------ .idea/vcs.xml | 6 ---- 11 files changed, 30 insertions(+), 146 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/AndroidProjectSystem.xml delete mode 100644 .idea/compiler.xml delete mode 100644 .idea/deploymentTargetSelector.xml delete mode 100644 .idea/deviceManager.xml delete mode 100644 .idea/gradle.xml delete mode 100644 .idea/migrations.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/runConfigurations.xml delete mode 100644 .idea/vcs.xml diff --git a/.gitignore b/.gitignore index aa724b7..b03ed66 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,33 @@ +# IntelliJ IDEA +.idea/ +*.iws *.iml -.gradle -/local.properties -/.idea/caches -/.idea/libraries -/.idea/modules.xml -/.idea/workspace.xml -/.idea/navEditor.xml -/.idea/assetWizardSettings.xml -.DS_Store -/build -/captures +*.ipr + +# Gradle +.gradle/ +build/ +local.properties +*.keystore +*.jks + +# Android +captures/ .externalNativeBuild .cxx -local.properties +*.apk +*.aab +*.ap_ +*.dex + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Claude +.claude/ diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 26d3352..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml diff --git a/.idea/AndroidProjectSystem.xml b/.idea/AndroidProjectSystem.xml deleted file mode 100644 index 4a53bee..0000000 --- a/.idea/AndroidProjectSystem.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index b589d56..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml deleted file mode 100644 index b268ef3..0000000 --- a/.idea/deploymentTargetSelector.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/deviceManager.xml b/.idea/deviceManager.xml deleted file mode 100644 index 91f9558..0000000 --- a/.idea/deviceManager.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml deleted file mode 100644 index 5fb11a4..0000000 --- a/.idea/gradle.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/migrations.xml b/.idea/migrations.xml deleted file mode 100644 index f8051a6..0000000 --- a/.idea/migrations.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 65c9f84..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - Android - - - Android Lint: Compliance - - - Android Lint: Correctness - - - Android Lint: Performance - - - Android Lint: Productivity - - - Android Lint: Security - - - Android Lint: Usability - - - - - User defined - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml deleted file mode 100644 index 16660f1..0000000 --- a/.idea/runConfigurations.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file