RFR: 8311227: Add .editorconfig so IDEs would pick up the common settings automatically: indent, trim trailing whitespace [v3]
Magnus Ihse Bursie
ihse at openjdk.org
Wed Mar 12 17:19:58 UTC 2025
On Tue, 11 Mar 2025 09:12:45 GMT, David Linus Briemann <duke at openjdk.org> wrote:
>> Add an .editorconfig to define indentation, trim trailing whitespace and open curly brace position for C++ and Java.
>> This allows various editors to easily infer basics of the coding style.
>
> David Linus Briemann has updated the pull request incrementally with one additional commit since the last revision:
>
> make editorconfig hotspot specific
src/hotspot/.editorconfig line 1:
> 1: [*.{cpp,hpp,c,h}]
There are no C files in Hotspot, nor should there ever be. (There are a handful of .h files, though, for interop purposes)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23693#discussion_r1991956206
More information about the build-dev
mailing list