Open enricoberti opened 8 years ago
And this also takes in account the SQL comments
It doesn't take comments consideration! It makes a new line after comma, which lead to the the rest of the comment is taken for code!
I have updated vkbeautify.js with the changes that you have made in this PR // Anders
/*
This is a test for new line, after comma in a comment */
select * from Foo; -- this is also a comment, and now ...
AFTER running vkBeautify.sql
/* This is a test for new line,
after comma IN a comment */SELECT *
FROM Foo;
-- this is also a comment,
AND now ...
Hi! I think this is useful when formatting more than one statement at once