@xahteiwi how about simply replace . with .\n (newline)? This will break some edge cases, e.g., e.g. but visible enough to fix. Alternatively look for a more complex regex that escapes and does not replace full stops that are not followed by a space. Implement as per you favorite editor instructions.
Jetbrains IDE's provide this macro out-of-the box but I only find it useful at the very early stage. I have to put the sentences back together to check whether they read fluently.