Archive for May 7, 2014

Tired of the CA Plex Source Code Editor?

by Lorenz Alder, Senior Consultant / Software Architect

If you’re tired of dealing with the supplied CA Plex source code editor, here’s how to change it:

Find your Plex.ini file:
“C:\Users\YourAccount\Documents\CA\Plex\7.1\Plex.ini”

Open the Plex.ini file with your favorite Editor.

In the [Build] section, you can define your Default Editor. Change “PlexSrcEdit.exe” to the .exe of your choice. The example shows Notepad++ as the Default Editor.

In the [Source Editor] section, you can define special editors depending on the file extension of the source file.

The example below shows how to make use of the Visual Studio Editor for .cs and .xaml files.  Please note the /edit option. This option will allow you to reuse an existing instance of Visual Studio if more than one file is opened.

Example from Plex.ini :

[Build]
Comments=1
Source Editor=”C:\Program Files (x86)\Notepad++\notepad++.exe”

[Source Editor]
.config=PlexManagementConsole.exe
.restext=notepad.exe
.cs=”C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe /edit”
.xaml=”C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe / edit”

Improving Your CA 2E Development Experience with Some Useful ‘Rules of Thumb’

by Mark Schroeder, Senior CA 2E Consultant

I’m going to show you some rules of thumb that, if used consistently, will improve your development experience.

The parameters screen can be very useful if you take care with it. When I first learned to use Synon, I would have a mixture of Input, Output, Both and Neither parameters listed in an unorganized way. However, if you spend a few minutes organizing things, it becomes easier to spot issues down the road.

When you look at the screen below, it is hard to tell the usage for each field.

2etip1

2etip2

In the screen below, I have organized the fields so I can quickly differentiate between keys and various types of parameters.  I use a sequence number of 1 – 10 for my keys.  For input parameters, I use a sequence number of 10 – 99, then I use sequence numbers 100 – 199 for output parameters. I use sequence numbers 200- 299 for both parameters and a sequence number of 900-999 for neither parameters.  There are several factors that will make it hard to follow this rule all the time but use it as often as you can and then this screen will begin to have more meaning for you.

2etip3

 
 
© 2013 CM First Group - All rights reserved