Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 846 Bytes

max_char_per_line.md

File metadata and controls

50 lines (39 loc) · 846 Bytes

max_char_per_line

If the total number of characters in the function name and arguments exceeds max_char_per_line, the arguments are formatted with new lines.

Default value is 50.

Example

before:

SELECT
	NORMAL_FUNC(COL1	+	COL2, PARAM2)
,	LONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONG_FUNC(PARAM1, PARAM2, PARAM3)

max_char_per_line = 100

SELECT
	NORMAL_FUNC(COL1	+	COL2, PARAM2)
,	LONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONG_FUNC(PARAM1, PARAM2, PARAM3)

max_char_per_line = 50

SELECT
	NORMAL_FUNC(COL1	+	COL2, PARAM2)
,	LONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONG_FUNC(
		PARAM1
	,	PARAM2
	,	PARAM3
	)

max_char_per_line = 10

SELECT
	NORMAL_FUNC(
		COL1	+	COL2
	,	PARAM2
	)
,	LONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONGLONG_FUNC(
		PARAM1
	,	PARAM2
	,	PARAM3
	)