Are you asking how do you "get" the Outline view?  If it is not already 
open just do Window -> Show View -> Other.  The Outline view is under the 
"Basic" grouping.

When you are editing an RPGLE you can then click the "Refresh" button on 
the Outline view to populate it and get the features I mentioned.

Be aware of the following:

1)  There are some things that cause it to crash your WDSC.  Such as 
having a member with an H-spec of OPTION(*SRCSTMT).

2)  It can be slow if you have a lot of F-specs.  It runs at about the 
same speed as the program verifier.

Other than that it is great.

Mark





craigs@xxxxxxxxx
Sent by: wdsci-l-bounces@xxxxxxxxxxxx
09/22/2003 12:27 PM
Please respond to Websphere Development Studio Client for iSeries 
 
        To:     wdsci-l@xxxxxxxxxxxx
        cc: 
        Subject:        [WDSCI-L] Re: Cool editor feature in WDSC 5






Was there ever an answer on using the cache for the outline view?  I am
trying to find a way to view only subroutines (also possibly comments, 
etc)
in LPEX similar to CODE and navigate to them with a click and then expand
again.  I did a search on this list and this post was what I found.  How 
do
you get to the Outline view?  I think this is what I want.  It looks like 
I
would also be able to use this for code completion on everything.  The 
%BIF
suggestions are nice.

Thanks,
Craig Strong

** Mark wrote:
The LPEX editor used for editing RPG in WDSC 5 has code completion support
like Java does.  For example, if you start typing a %BIF in an EVAL
expression it will pop-up suggestions, as Java might for the methods on a
class.

There is also a new Outline view (or rather they populate the existing
Eclipse Outline view).  With RPG source open hit refresh on the outline
view and it will pull in a list of all files, fields, indicators,
subroutines, procedures etc. used in the code.  Clicking on an item takes
you to that spot in the source code.

I had always noticed these two features, but not until today did I put
them together.  If you have the outline view populated, then you get very
nice code completion in the editor on everything.  Such as field name
completions on an EVAL or file/format names on a CHAIN.  For fields, it
even tells you the type and length.

Very nice!

This all leads to a question.  Is there anything in the documentation that
describes how to proactively use the cache that is used by the program
verifier (and I presume the outline view).  For example, can I manually
prime my cache with file descriptions so that I can use these cool
features without incurring the overhead of resolving all of the references
each time?  I have poked around and do not see it mentioned anywhere.

Thanks

Mark

_______________________________________________
This is the Websphere Development Studio Client for 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 thread ...

Replies:

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

This mailing list archive is Copyright 1997-2020 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].