I have recently migrated to Intellij 2022.1.2 and sometimes the IDE will just change the line spacing randomly between different code sections: annotation / function definition, imports / class definition etc.
This behavior seems to be very erratic, sometimes I just restart the IDE and all lines are ok again, sometimes the changes are persistent.
Here is an example:
This is a little bit irritating. Is there any way to disable it?
>Solution :
These empty lines you see are placeholders for additional information about the code in the editor. They are called ‘Inlay Hints’ and you can configure them in the Settings dialog.
If they are non-empty, these lines may look like this:
That these lines appear as empty placeholders is indeed irritating. Maybe it will be fixed in one of the next releases.


