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
This adds 4 user dictionaries:
* anki.xml - Anki Desktop specific terminology: 'did'
* android.xml - Android and dependencies: 'miui.securitycenter'
* usernames.xml - Usernames in copyright declarations
* davidallison.xml - Anything else.
* Each user has their own dictionary to avoid merge conflicts
* But this is shared within the project
https://www.jetbrains.com/help/idea/spellchecking.htmlhttps://stackoverflow.com/a/36256338
Fixes 10713
code style itself was imported to Android Studio via Checkstyle plugin
using the file docs/code_conventions/eclipse/ankidroid.checkstyle.xml,
with the only alterations being to implement blank line rules from
/docs/code_conventions/AnkiDroid_code_conventions.html
Replaced ListView with a RecyclerView in DeckPicker. This also replaces the anonymous SimpleAdapter with a custom RecyclerView.Adapter. Our UI is a simple list, which does not require any custom styling depending on whether the item is a deck or subdeck. The items have click & long click actions that function the same as before. There is also a new method inside DeckPicker for finding a deck node given a deck ID.
The .project file was currently ignored and not added to version
control. This causes some problems, including the fact that the newly
added project is called as the first activity named in the manifest,
currently DeckOptions, which is misleading.
Tracking the .project file is actually useful if we want to use some of
the most fancy features, like filtered resources, so it is useful to
track it.