BUG: Code beautifier messing up indentation

adderek

Member²
I had a fragment of code like:

Code:
FOR Fields IN (
   SELECT x,y
   FROM my_table
/*
UNION
SELECT x,y
FROM my_table2
*/
UNION
   SELECT x,y
   FROM my_table2
)
LOOP
   NULL;
END LOOP;
I had code beautifier set to run on save. After a while I was unable to find out the commented part. It was in fact there - although shifted to the right. Every save operation indented the commented part a little more.
 
Back
Top