joe
joe copied to clipboard
Nested .idea directories created by JetBrains Rider IDE not recognized
The JetBrains Rider IDE creates nested .idea configuration directories under the project name:
.idea
└── .idea.MyProject
├── .idea
│ ├── .name
│ ├── modules.xml
│ ├── vcs.xml
│ └── workspace.xml
└── riderModule.iml
Files in the inner .idea/.idea.MyProject/.idea aren't caught by the .idea lines in the joe-generated JetBrains .gitignore, so (e.g.) .idea/.idea.MyProject/.idea/workspace.xml gets added. I worked around this by prefacing the .idea lines in my .gitignore with **, thus:
# User-specific stuff:
**/.idea/workspace.xml
**/.idea/tasks.xml
**/.idea/dictionaries
**/.idea/vcs.xml
**/.idea/jsLibraryMappings.xml
# Sensitive or high-churn files:
**/.idea/dataSources.ids
**/.idea/dataSources.xml
**/.idea/dataSources.local.xml
**/.idea/sqlDataSources.xml
**/.idea/dynamic.xml
**/.idea/uiDesigner.xml
# Gradle:
**/.idea/gradle.xml
**/.idea/libraries
# Mongo Explorer plugin:
**/.idea/mongoSettings.xml