|
The plugin will use the word immediately behind the cursor as a filterfor
the template selection popup unless it finds a space or something like.then
This is handy for typing the first few characters of a template name
the list will be filtered by that prefix. Is it possible that yourcursor
was next to a word in your source member that filtered the list tofalls
nothing?
I will add a message in the next version when the filtering does this so
it doesn't appear to be unresponsive.
Thanks,
Robert Newton
Estes IT
System Architect
804-353-1900 x2256
rnewton@xxxxxxxxxxxxxxxxx
From:
Jeff Young <jyoung0950@xxxxxxxxx>
To:
"Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date:
11/08/2011 11:51 AM
Subject:
Re: [WDSCI-L] LPEX FreeMarker Template Plugin (was: Re: Code Snippets)
Sent by:
wdsci-l-bounces@xxxxxxxxxxxx
I installed this and following the instructions, in the preferences set
the
Templates Directory to C:\Program Files\IBM\SDP\dropins\LPEX FreeMarker
Template Plugin\examples.
When I start RDP, I get the message LPEX FreeMarker Actions available
with CTRL+Enter.
When I try to use this function, nothing happens.
Where is this function available?
I am working in Fixed Format RPV IV code.
Thanks,,
On Tue, Nov 8, 2011 at 10:44 AM, <RNewton@xxxxxxxxxxxxxxxxx> wrote:
All,Builder.
I've added a validation option to the tools menu of the Template
This should help in making sure that a template does not have any bad
variable references before deployment.
Thanks,
Robert Newton
Estes IT
System Architect
804-353-1900 x2256
rnewton@xxxxxxxxxxxxxxxxx
From:
RNewton@xxxxxxxxxxxxxxxxx
To:
Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Date:
11/07/2011 11:42 AM
Subject:
[WDSCI-L] LPEX FreeMarker Template Plugin (was: Re: Code Snippets)
Sent by:
wdsci-l-bounces@xxxxxxxxxxxx
All,
The template and snippets features in RDP are not very good and by
limiting usage to only free format sections of a source member it
templateshort of being a complete template solution for RPG. One of the mostplugin
problematic examples of this for me is the fixed format P specs for
procedures. Without support for templates outside of free we cannot
develop a shop standard procedure template.
In order to overcome these limitations, I developed a new template
for the LPEX editor. The plugin allows a developer to define a
ofwith replaceable variables, looping constructs, and much more. Itcaptures
support
data for replacement variables by rendering forms dynamically with
builder
for up to 4 different input types. I've also developed a template
application to run on Windows and ease the creation of templates withproject
embedded prompt definitions.
How to get it
The entire project including the source code for the plugin (Java) as
wells as the template builder (C#) are available free of charge by
browsing to the project page hosted on Google code below. Download
binaries on the downloads page and follow RDP install steps on the
an
wiki or within the plugin zip file's Installation.txt. I am working on
installer that should make this easier in the future.
http://code.google.com/p/lpex-freemarker-template-plugin/
How it works
Using ctrl-enter from anywhere in a source member will present a list
outputtemplates for that language from your hard drive (these parserprovided
associations is configurable). Selecting a template renders a form (or
series of forms) based on the prompt definition within the chosen
template. Filling out the form then hitting enter will merge the
data with the template (using the FreeMarker template engine) and
member.the resulting text to the cursor position of the current source
comment
The prompt definition is defined using XML within the first FTL
http://code.google.com/p/lpex-freemarker-template-plugin/wiki/CreatingANewTemplatefound in the template file. More details about the template format canbe
found in the project wiki.
block
for
Thanks,
Robert Newton
Estes IT
System Architect
804-353-1900 x2256
rnewton@xxxxxxxxxxxxxxxxx
From:
RNewton@xxxxxxxxxxxxxxxxx
To:
wdsci-l@xxxxxxxxxxxx
Date:
09/16/2011 10:50 AM
Subject:
[WDSCI-L] Code Snippets
Sent by:
wdsci-l-bounces@xxxxxxxxxxxx
We are not satisfied with the snippets and templates features of RDPi
our RPG programmers and are looking for another solution.
Requirements:
Injecting a block of code should be capable from content assist
(ctrl-space) regardless of whether the cursor is in a free format
orpresent
not.
If replaceable variables are found in the code block, it should
anmust
from
interface for filling those values in.
Filling in replaceable variable values should be able to be done all
the keyboard without mouse interaction.
Code blocks must be pulled in from a central repository; the plugin
recipient,not source them from the local PCcontact
Is there a plugin out there that can do this already in RDPi or is it
possible to be developed as a plugin?
Can anyone point us in a good direction?
Thanks,
Robert Newton
Estes IT
System Architect
804-353-1900 x2256
rnewton@xxxxxxxxxxxxxxxxx
For 80 Years ? Delivering Solutions that Exceed Expectations.
This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please
the sender. If the reader of this message is not the intended
distributionor the employee or agent responsible to deliver it to the intended
recipient, you are hereby notified that any dissemination,
orStudio
copying of this communication is strictly prohibited.
--
This is the Rational Developer for IBM i / Websphere Development
recipient,Client for System i & iSeries (WDSCI-L) mailing listcontact
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.
For 80 Years ? Delivering Solutions that Exceed Expectations.
This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please
the sender. If the reader of this message is not the intended
distributionor the employee or agent responsible to deliver it to the intended
recipient, you are hereby notified that any dissemination,
orStudio
copying of this communication is strictly prohibited.
--
This is the Rational Developer for IBM i / Websphere Development
recipient,Client for System i & iSeries (WDSCI-L) mailing listcontact
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.
For 80 Years ? Delivering Solutions that Exceed Expectations.
This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please
the sender. If the reader of this message is not the intended
distributionor the employee or agent responsible to deliver it to the intended
recipient, you are hereby notified that any dissemination,
orStudio
copying of this communication is strictly prohibited.
--
This is the Rational Developer for IBM i / Websphere Development
contactClient 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.
--
Jeff Young
Sr. Programmer Analyst
--
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.
For 80 Years ? Delivering Solutions that Exceed Expectations.
This communication and any transmitted documents are intended to be
confidential. If there is a problem with this transmission, please
the sender. If the reader of this message is not the intended recipient,or
or the employee or agent responsible to deliver it to the intended
recipient, you are hereby notified that any dissemination, distribution
copying of this communication is strictly prohibited.
--
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.
As an Amazon Associate we earn from qualifying purchases.
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.