Wrong indentation in SQL editor - Version 6.0.2
See original GitHub issueHi there,
After upgrade from 6.0.1
to 6.0.2
, I found this strange indentation on new lines while typing select queries. To image below shows how it’s being formatted:
Or as plain text with \n
and \t
:
select
a.*
from
tb_foo a
where
a.bla > 0
and
a.foo > 1
group by
a.faa
order by
a.faa;
Looking for some configuration, I didn’t find anyone, and I also don’t have any customization on default formatter.
This occurs on both Windows and Linux, just in 6.0.2
version.
PS: I don’t know if this issue (#5683) contains this fix because it’s closed, but, in current version (6.0.2) I get this error.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Manage Code Formatting - SQL - Microsoft Learn
Manage Code Formatting ; To choose an indenting style. On the Tools menu, click Options. Click Text Editor. ; To change indent tab...
Read more >sql-formatter - npm
Format whitespace in a SQL query to make it more readable. Latest version: 12.0.3, last published: 20 days ago. Start using sql-formatter in ......
Read more >Who the Devil Wrote This SQL Code? - Simple Talk
Grant gives some examples of bad formatting and explains why you should never check-in badly-formatted SQL code.
Read more >Version 6.0 - 6.9.2 Release Notes - What is Decisions?
[DT-026354] Azure SQL Clean Install bug; [DT-026320] This user context can only be used from localhost error; [DT-026389] Active Directory ...
Read more >52 SQL Editors and IDEs Compared (2020): The Ultimate List
Many of the features are the same as the Professional edition: data types on columns, code complete, SQL history, database diagrams, and inline...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the bug report. The issue seems to be already fixed. You can test the fix in Early Access version (https://dbeaver.io/files/ea)
Hi @serge-rider, @uslss,
I just upgraded to
6.0.4
final release, and indentation is OK. You can closed this issue.Thanks guys!