Hey, thanks for the report. This is a known issue, and the team has already fixed it in version 2.3.
The bug affects files after the Agent runs and adds trailing newlines when the IDE starts, ignoring the files.insertFinalNewline and files.trimFinalNewlines settings.
Related threads with more info:
Please update to version 2.3 and check if the issue is resolved.