0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-19 19:42:17 +02:00
Anki-Android/.gitignore
David Allison 09a5302a44 chore: exclude non-'values' translation files
Example: 'values-af'

* This removes them from the search/index
* This marks them in the IDE in a different color,
  making it less likely a new user will modify them
  * Files also now contain IDE errors

We go against JetBrains advice as we want these files in Gradle:

> Items you may want to exclude from sharing:
>
> .iml files and .idea/modules.xml file for the Gradle or Maven based
> projects since these files will be generated on import

https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems

Tested and languages are still switchable

I did test `Editor > File Types > Ignored files and folders`
This removes the files from the IDE completely
but I could not find a way to share this with other team members
2023-08-26 09:42:03 -05:00

72 lines
1.4 KiB
Plaintext

# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# built native files
*.o
*.so
# generated files
bin/
gen/
# Ignore gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Eclipse Metadata
.metadata/
# Mac OS X clutter
*.DS_Store
# Windows clutter
Thumbs.db
# Ubunut gedit cluter
*~
# IDEA/Android Studio ignores
*.iml
*.ipr
*.iws
/.idea/*
/captures
# IDEA/Android Studio Ignore exceptions - this lets you share things you specifically want all team members to use
!/.idea/codeStyles/
# Keep dictionaries to have less false positives in spellcheck inspection.
# Each user gets their own dictionary and these dictionaries are merged
!.idea/dictionaries
# although modules are generated by Gradle, this allows us to mark translations ('values-af')
# as 'excluded' this removes them from the search and provides a visual warning to new contributors
# that only strings in the the primary 'values' folder should be edited
# https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems
!.idea/modules.xml
!.idea/modules
!.idea/modules/**
# Crowdin files
ankidroid.zip
tools/crowdin_key.txt
# Testing / quality remnants
AnkiDroid/ACRA-INSTALLATION
.codacy.json
#ignore the local insufficient memory for the Java Runtime Environment files
hs_err_pid*