× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thank you Dave. That did the trick. IBM should remove the "Blanks" property of the "Automatic indent" preference and use the formatter preferences instead.

Thomas.


-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von David Shaw
Gesendet: Donnerstag, 30. März 2017 15:06
An: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Betreff: Re: [WDSCI-L] Shortcuts Indent/Unindent

Check the settings on the Formatter page under the ILE RPG preferences. I think it uses those rather than the Automatic indent preference. Why they have essentially the same setting in 2 different places is beyond me.

It does appear that they could make the different selection types more consistent with each other. I suspect it's one of those things that hasn't been touched since the first implementation.

Dave Shaw

On Thu, Mar 30, 2017 at 2:42 AM, Thomas Raddatz <thomas.raddatz@xxxxxx>
wrote:

Nice hint that works nicely for me at a first glance, but does not use
the number of blanks specified for "Automatic indent" of the "ILE RPG"
preferences page. At least for me it uses 2 blanks for indention,
although I specified 3 blanks for "Automatic indent".

Last but not least Ctrl+M seems to use block selection so that I have
to press Alt+U to unselect the block. So the there are 3 steps for
indenting a
block:

1) Ctrl+M to select the source lines.
2) Ctrl+Shift+F to format the selected lines.
3) Alt+U to remove the selection.

The good news are that Ctrl+Shift+F also works with stream selection.
On the other hand that raises the question why Alt+7 and Alt+F8
(indent/unindent) do not work with stream selection. They only had to
pick up the line numbers where the selection starts and ends in oder
to know the lines to indent/unindent. Simple and intuitive.

It is pretty much annoying that I always have to remember what
selection I have to use for what function: Block, line, rectangle or stream selection.

Sigh - Either I am getting old or stupid or it is because I never used
Code400, WDSCi and RDi for editing fix format RPG (except the D-specs,
of course).

Thomas.


-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von
daveshawmrc@xxxxxxxxx
Gesendet: Dienstag, 28. März 2017 22:52
An: wdsci-l@xxxxxxxxxxxx
Betreff: Re: [WDSCI-L] Shortcuts Indent/Unindent

After selecting the block with Ctrl-M, Ctrl-shift-f to format the
block takes care of the indenting nicely.

Dave Shaw
Sent from Mail for Windows 10

From: Jose Luis Hernandez Riesgo
Sent: Tuesday, March 28, 2017 4:47 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] Shortcuts Indent/Unindent

Hi

I know that this tricks aren't really about indent/unindent, but i
think they are very useful for to be able see the begin/end of block
if/do/select....

Ctrl + M in the begin/end of the block this mark all block and you can
see all.

Ctrl + Shift + M in the begin of block and you go directly at end
statement. And reverse too.

--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a
criminal offence. Please delete if obtained in error and email
confirmation to the sender.

--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.

--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.

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-2024 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.