ACS RUN SQL Scripts has one - just copy the SQL into the editor. Got to >Edit>SQL Formatter.
Our use NotePad++ and use the SQL extension SQLInForm
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Slanina, John via WDSCI-L
Sent: Wednesday, March 15, 2023 10:45 AM
To: 'Rational Developer for IBM i' <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc: Slanina, John <jslanina@xxxxxxxxxx>
Subject: Re: [WDSCI-L] RDi: 3rd party source code formatters
I wish there was one. I keep looking for one. Let us know if you find one.
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Reeve
Sent: Wednesday, March 15, 2023 4:38 AM
Subject: [WDSCI-L] RDi: 3rd party source code formatters
CAUTION: This email originated from outside of the PENCOR network. Do not click on any links or open attachments unless the sender is known, and the content is verified as safe.
I'm looking for a free 3rd party source code/SQL formatter I can plug into RDi. The built-in hasn't worked well or consistently for years and I'm on 18.104.22.168. I guess cleaning this up isn't a high priority for the RDi team.
The SQL formatting drives me bonkers. I frequently get "Could not indent source beyond end column limit 80" messages. In addition, blank lines are often deleted and the casing of structured opcodes usually goes to ALL UPPER if the preceding SQL statement is malformed. The SQL formatter in iACS is pretty good but then there's no RPG support; why not port that code?
I can take a few days and write one myself but, like everybody else, I have other things to do. But it would be fun, so I better stop talking about doing it before it becomes too enticing.
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l
As an Amazon Associate we earn from qualifying purchases.