sqlparser / isf_notepad

SQL Formatter plugin for Notepad++
Apache License 2.0
77 stars 47 forks source link

fmt044_insert_column_list_start_parenthesis_in_newline is ignored #10

Open akinet opened 5 years ago

akinet commented 5 years ago

If I set fmt044_insert_column_list_start_parenthesis_in_newline to false I expect to have output of this kind:

INSERT INTO SALES.saleshistory (salesorderid,
                                salesorderdetailid,
                                carriertrackingnumber,
                                modifieddate)                   
SELECT * 
FROM SALES.salesorderdetail;

but I am receiving this:

INSERT INTO SALES.saleshistory
            (salesorderid,
             salesorderdetailid,
             carriertrackingnumber,
             modifieddate)
SELECT *
FROM   SALES.salesorderdetail; 

Example in https://github.com/sqlparser/sql-pretty-printer/wiki/Insert-statement shows that combination of options:

generates the output I am expecting.

What is wrong? Is there any other option I need to set to get the expected output? Regards.