Closed magneticflux- closed 3 years ago
@magneticflux- Thanks for reporting. In fact, that's not an issue in the matter of generating the .gitignore
file.
All the templates come from the official github/gitignore repository.
The order of inserting depends on your matches. As a workaround, you may introduce your custom User Template.
Prerequisites
mobi.hsz.idea.gitignore
package nameDescription
When generating
.gitignore
files, the order of certain blocks invalidates prior blocks because.gitignore
files respect the last matching pattern.Steps to Reproduce
.gitignore
with the Java and Gradle templates!gradle-wrapper.jar
pattern is generated before the*.jar
patternExpected behavior:
The Gradle template is always inserted after the Java template (or any template that would exclude the wrapper file).
Actual behavior:
The Gradle template is inserted before the Java template, making its un-exclusion pattern useless.
Reproduces how often:
100% of the time.
Versions
Plugin:
IDE:
OS:
Additional Information