eclipse-vertx / eclipse-vertx/vert.x

Generated Java files are generated on Windows with LF, showing up in IDEs as modified

Open
#5,849 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
14.7k
Forks
2.1k
Avg merge
2d 7h
Merged PRs (30d)
28

Description

### Describe the feature

When developing on Windows with its CRLF line endings, I noticed the following:

* Git checks out the previously generated files with CRLF
* The next generator run re-creates them with LF
* Now the IDE shows a lot of changes

I'm suggesting to add a `.gitattributes` file to ensure that Git checks out the files with LF on Windows, and I will provide a PR

### Contribution

@ahus1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.