RFR: 8354919: Move HotSpot .editorconfig into the global .editorconfig

Sergey Bylokhov serb at openjdk.org
Fri Apr 25 07:29:50 UTC 2025


On Thu, 17 Apr 2025 07:28:03 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> The src/hotspot directory should ideally only be used for HotSpot source files, and we should avoid polluting it with an .editorconfig. A cleaner solution exists since we can just specify the desired code formatting for HotSpot as an override in the root .editorconfig

.editorconfig line 10:

> 8: 
> 9: [src/hotspot/**.{cpp,hpp,h}]
> 10: indent_style = space

Just wondering - will the new src/hotspot block inherit the trim_trailing_whitespace setting from the top-level [*] block?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24714#discussion_r2059707340


More information about the hotspot-dev mailing list