Stop new lines when I have a div within blade @if statements

Hello, is there a way to stop PHP Storm adding new lines in the middle of my @if <div> statements?

What I want:

@if(true) <div> @endif

What happens:

<div> @endif

I've tried setting div to "don't break if inline" and removing it from "insert new line before", neither work. I feel like it may have something to do with configuration for blade files. I have Laravel Idea installed but nothing else should be touching blade files that I'm aware of.



Sadly, at the moment, there's no way to control directives' wrapping.
I've extracted this as WI-70030; please vote for it to get notified when it gets fixed.