question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New line before comma not working on formatting.

See original GitHub issue

Hi. I have the following query where the select just after VIEW bi_gaz_check_curve AS( does not have a new line before each comma. Other simpler selects work but in this case it does not. Perhaps it’s working as intended (if so, is there any workaround?), otherwise it’s a bug.

Thanks!

Version 7.1.3.202007192031
Windows 10
Postgresql 11.7
CREATE OR REPLACE
VIEW bi_gaz_check_curve AS(
SELECT
	cal.date , pay.check_id, COALESCE(pay.base_amount , pay.amount) amount_ars, pay.future_pay_due_date due_date, pay.cleared_date, pay.check_date issued_date
FROM
	(
	SELECT
		generate_series( '2010-01-01'::date, '2050-12-31'::date, INTERVAL '1 day') date, 1 payment_id ) cal
LEFT JOIN oracle.ap_checks_all pay ON
	cal.date >= pay.check_date
	AND cal.date <= ( pay.future_pay_due_date::date + 30 ) );

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kseniiaguzeevacommented, Jul 31, 2020

Thank you for the report.

0reactions
uslsscommented, Aug 18, 2020

verified

Read more comments on GitHub >

github_iconTop Results From Across the Web

stop forcing newline for comma separated selectors in CSS ...
CSS > Format: Newline Between Selectors (enabled is the default). Then I believe the intent is that this setting will override any other ......
Read more >
Comma position : end of the previous line or start of the new ...
I now personally like placing them of the start of the new line like so : ... on /// does not work if...
Read more >
Code formatting issues in SQL Developer with line breaks on ...
I am using SQL Developer Version 19.2.1.247 with default settings. I change line breaks on comma from "After" to "Before".
Read more >
Easily change commas to new lines in Microsoft Word. Use ...
Disclaimer: Boring/amateur Video. I made this for my own informational use. It was useful to me at one time... maybe it will be...
Read more >
Replace line break with comma - YouTube
https://lifenrichments.com/view/microsoft-excel-help-ebooksReplace line break with comma shows how to remove line breaks and replace them ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found