How to Disable Feature That Adds Unremovable Blank Lines Around Methods
Answered
Hello,
I just updated my IntelliJ yesterday and I'm now seeing an extra blank line surrounding all of my functions that I can't remove. I already add a blank line around functions on my own so IntelliJ adding another one is just cluttering it up. I tried searching for how to turn this off but no dice so far and I also tried going into Settings -> Code Style -> Java -> Blank Lines and setting all of the values to 0 and that didn't fix it either.
Any help would be appreciated.
Thanks.
Please sign in to leave a comment.
The problem might be related to https://youtrack.jetbrains.com/issue/IDEA-291945 .
Please see if disabling
Settings (Preferences on macOS) | Editor | Inlay Hints | Code Vision | Code authorshelp.Egor Klepikov
Thanks very much, disabling Code Authors fixed my issue.
In my case it was the "usage" hints that was displayed on top, I changed the default location to 'right' so no extra space on top is displayed.
Settings -> Inlay Hints -> Code Vision -> Usages (or Code author) [Right Tab] -> Position 'Right' (was top).