This project is read-only.

Formatting SQL Queries

Topics: Developer Forum, User Forum
Jun 27, 2011 at 11:22 PM
Edited Jun 27, 2011 at 11: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 11: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.