Start a new topic

FORMATTING: Line Breaks after other main Keywords ignores Custom Keywords

Beta version 110.3060


 Line Break after custom keywords does not work


Custom keyword: 'STORED'


Example SQL after formatting:

CREATE TABLE
    tbl1
    (
        col1 string
    )
    STORED AS TEXTFILE LOCATION '/test/location'
;


Customer Keyword changed to "LOCATION"


Example SQL after formatting (unchanged):

CREATE TABLE
    tbl1
    (
        col1 string
    )
    STORED AS TEXTFILE LOCATION '/test/location'
;



1 Comment

Currently the Formatting options distinguish between Custom keywords and Main keywords


The only formatting option that affects the Custom keywords are the Keywords Uppercase and Keywords Lowercase options in the Transformation section of the SQL Formatting options.


We have an improvement request on adding Coloring on the Custom coloring as well. 

I will add an improvement request on other formatting options being applied to Custom Keywords as well. 


We will also make sure the User Guide describes the difference between Custom keywords and Main keywords.

Login or Signup to post a comment