Formatting SQL Queries

Topics: Developer Forum, User Forum
Jun 27, 2011 at 10:22 PM
Edited Jun 27, 2011 at 10:23 PM

I was wondering if there was any logic built into Scintilla that would auto format SQL queries to a more readible format.

For instance

Select Field1, Field2 from Table Where Field1 ="asdasd

would become

Select Field1,


From Table

Where Field1 = "asdasd"

Thanks in advance...

Jun 27, 2011 at 10:47 PM

No. Syntax highlighting is as much as you'll get out of Scintilla. Code layout is an exceptionally difficult thing to do, especially with a language as quirky as SQL.