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



Are these restrictions documented in the WDSc help (I must have missed
them)?  And secondly, why are the restrictions there?  Don't you think I
would find out sooner or later that I was missing a semi-colon or that I
missed out on a /End-Free?  Or maybe those things are included in my
Template like in my code example below.

If I type in 'fo' and <CTL + SPACE> then I get the list of FOR loops, and if
I back space the 'fo' and type a 's' I see my 'subproc' in the Code Assist
window.  If I select it the editor goes wacky. . . I think it is going wacky
because of the comment lines I have in it because when I take the comments
lines out of Template 'subproc' everything works fine.



Aaron Bartell

-----Original Message-----
From: David McKnight [mailto:dmcknigh@xxxxxxxxxx]
Sent: Thursday, November 06, 2003 8:48 AM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] Code Assit (Templates)






The template feature currently only works within the valid source regions
of free-form blocks.

Are you using this outside of a free-form block, before column 8, within a
comment or after a semi-colon?

____________________________________
David McKnight
Phone:   905-413-3902 , T/L:  969-3902
Internet: dmcknigh@xxxxxxxxxx
Mail:       D1/643/8200/TOR
____________________________________



                                                                           
             "Bartell, Aaron                                               
             L. (TC)"                                                      
             <ALBartell@taylor                                          To 
             corp.com>                 "'Websphere Development Studio      
             Sent by:                  Client for iSeries'"                
             wdsci-l-bounces@m         <wdsci-l@xxxxxxxxxxxx>              
             idrange.com                                                cc 
                                                                           
                                                                   Subject 
             06/11/2003 09:28          [WDSCI-L] Code Assit (Templates)    
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
                 Websphere                                                 
                Development                                                
             Studio Client for                                             
                  iSeries                                                  
                                                                           
                                                                           




Just found the template feature which is going to be great for storing
snippets of code!

The only thing is I can't get it to work on a consistent basis.  Here is
the
scenario:

- I created a Template called 'subproc' and it looks like the following. .
.


//--------------------------------------------------------------------------

-----------------
 // @Name -
 // @Author - Aaron Bartell
 // @Description -
 // @Usage -

//--------------------------------------------------------------------------

-----------------
P ...
P                 B
D ...
D                 PI
 /Free

  Return;

 /End-Free
P ...
P                 E


- I then went back to my RPGILE editor and tried to use it by typing in
"subproc <CTL + SPACE>".  Sometimes it puts in the code and sometimes it
doesn't.  If I hit <CTL + SPACE> many times (out of frustration) and then
hit <BACK SPACE> to start deleting "subproc" the editor goes wacko on me
and
starts to delete one line above where the "subproc" code was.  And if I hit
<CTL + SPACE> too much it completely locks up my keyboard in the LPEX
editor
(not my mouse) yet I can go and edit an XML document just fine in the
Eclipse text editor.

Is there a bug in Code Assist that we should know about?

Aaron Bartell
_______________________________________________
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 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.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.