On Tue, 11 Mar 2025 09:12:45 GMT, David Linus Briemann <d...@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

I see. I didn't understand that the hotspot style guide is only for the hotspot 
part before.. seems obvious now :)

I like @erikj79 idea and have adapted the PR to this. It now defines 
`trim_trailing_whitespace` globally and indentation of 2 spaces for c/c++ 
hotspot code only.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23693#issuecomment-2713264565

Reply via email to