So the /t didn't find anything when I clicked on regular expression.

When I copied it to ACS, it looked the same but I could use my arrow left/right to see that tabs exist in the data.

CTRL-SHIFT-F formatted it correctly, but as soon as I clicked in a certain part of the expression, it shifted some of the lines again.

Not a big deal, just very weird.

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Hiebert, Chris
Sent: Monday, February 7, 2022 11:22 AM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Autoformat Exec SQL

In the RDI, open the find dialog and search for regular expression /t and replace that with a blank.

Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Greg Wilburn
Sent: Friday, February 4, 2022 2:16 PM
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: [WDSCI-L] Autoformat Exec SQL


I recently pasted some SQL code into a source member. It must have contained a mix of tabs and spaces for the indents.

When I click different places in the code, I can see the indents "shift"... several lines move right.

If I click anywhere in the code section that moves, the rows "auto-align".



Can someone shed some light?

Greg Wilburn

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.