Done: sorry for this, I hadn't realized there was an "Add blank link after" checkbox in IntelliJ. I unticked it now. Thanks