"Reformat Code" adds extra tabs and newlines after if statements including "X not in Y"

as shown, whenever i run reformat code using the menu option or cmd+opt+L, it'll add an extra tab to the next statement and some newlines afterwards. the issue goes away if i change the X not in Y to not X in Y, but i find that much less readable. i suspect this might be related to #295. running macOS 15.2 and Rider 2024.3.3 with the latest release of the plugin, if that ends up being relevant

Screen_Recording_2025-01-11_at_13.57.26

Edited by elke