Gitignore File
More than one correct .gitignore file exists for MPS. It's recommended to ignore generated files, but there can also be cases where you can't execute your generated files, so you have to add them to version control and check the difference manually.
Generated Files (MPS)¶
- source_gen: the generated Java files
- source_gen.caches:
- dependencies: cache files that list dependencies between used classes and interfaces
- generated: a list of generated files
- classes_gen: the generated Java class files
- test_gen: the generated JUnit Java test files
- doc_gen: generated files of the mbeddr documentation language (optional)
- result_gen:
- *.iws: old MPS project setting files
- .mps/shelf: local user commits
Testing¶
- JUnit ⧉
- junitvmwatcher*.properties
- build.properties
- TEST*.xml: test results
- junit*.properties
MPS-Gradle-Plugin¶ ⧉
- build/mps: the downloaded MPS version
- artifacts: the downloaded dependencies
Temporary Files/Folders¶
- tmp: temporary files by the Java compiler
- build/generated
- .mps-caches
- /system/: the system directory ⧉
Build Tools¶
- Gradle
- .gradle: Project-specific cache directory ⧉ generated by Gradle
- .gradletasknamecache
- **/build/repo/
- **/build/distributions
- **/build/classes
- Gradle.gitignore ⧉
- Maven
IntelliJ Files¶
- .idea: the folder of an IntelliJ project ⧉
- workspace.xml: a file that saves project-specific settings ⧉
- JetBrains.gitignore ⧉
IntelliJ Plugins¶
- Markdown Navigator plugin ⧉ (optional)
- .idea/**/markdown-navigator.xml
- .idea/**/markdown-navigator-enh.xml
- .idea/**/markdown-navigator/
MacOS¶
- .DS_Store: short for Desktop Service Store; it stores custom attributes of its containing folder, such as folder view options, icon positions, and other visual information (reference ⧉).
- macOS.gitignore ⧉ (optional)