Beautifier + comments

Wojtek

Member²
After beautifiering, this tool moves comments of code to diferent places, which are not always desirable.
Sometimes it looks just horrible.
I suggest to leave them as they are (in orginal version), and not beutifier it.

regards
 
It cannot leave them at the same location, they have to be indented properly. If you can send me an example...
 
Hi Marco, here is a sample:
BEGIN
DECLARE
CURSOR cur IS
/*
SELECT /*+ parallel (fct01,4) + parallel (spa,4) */
/*agr0.ROWID, spa.sper_id, spa.stct_id
FROM t_coverages_fct fct01, t_cvrg_agr0 agr0, t_sales_persons_agr spa
WHERE fct01.id = agr0.id
AND fct01.nat_key_spers_code = spa.nat_key_spers_code;
*/
SELECT --/*+ parallel (wk,4) */
agr0_rowid, sper_id, stct_id --, Id
FROM wk_tmp01 wk;

BEGIN
NULL;
END;

After beautifying some comment lines moves to right, forward after every beautifying.

Regards
 
I've got this problem, too.
In fact I'm using the Line comment plug in, since after some beatyfiyng multi line comments will be way right outside the screen.
Maybe you could remove all white spaces from line start to the 1st char in a comment. After that you can align it the way it works now.
A good solution would be the wihite space removal yuo're using for the special copy wich just works fine. :)
 
Back
Top