Hi,
i'm using PL SQL Developer Version 16.0.0.2142. The beautifier is adding empty lines in specific constellations. You have to OPEN a SYS_CURSOR, but not FETCH it in a LOOP. See the following example:
CREATE OR REPLACE PACKAGE cur_beautify IS
END cur_beautify;
/
CREATE OR REPLACE PACKAGE...