There are a few people who mention different tools for Application Development in PeopleSoft. Over the past years I have tried many of the IDEs like TextPad, UltraEdit. For the past 6 months I have started extensively using Notepad++ and I absoltely love it. Unfortunately App Designer does not include a good syntax highlighting, Intellisense and other features that have been long implemented in other IDEs like Visual Studio, JBuilder, Eclipse. It seems that so far Notpad++ developers did a great job with developing enough options that the tool could be easily configured to support multiple languages, specifically SQR and PeopleCode. I have started by downloading initial syntax color scheme files from greysparling.com (they are always on the forefront of peoplesoft development). Then, I have played with options a little and voila – I finally have an IDE that makes it all easier – syntax highlighting, IntelliSense (I wish it could access AppDesigner API too). Below I would like to provide a 5 minute guide to configuring NOTEPAD++ for use:

  1. Download Notepad++ from http://notepad-plus.sourceforge.net/
  2. After install go to Settings and remove all languages that you are not using:

image image

3. Download PeopleCode and SQR syntax and Intellisense files below

a) Paste Intellisense File below

into C:\Program Files\Notepad++\plugins\APIs\

and %appdata%\Notepad++\plugins

b) Paste PeopleCode and SQR Syntax files attached below into %appdata%\Notepad++\

Download File – PeopleCode SQR Syntax Files

c) Close and restart Notepad++

 

4. Configure Notpad++ to recognize sqr and peoplecode by following the instructions below:

image

image

Choose the desired language e.g. Peoplecode or SQR and change the color scheme to the way you like it. For PeopleCode I suggest specifying rem and  remark in the comments & Number section. For the slash comments to work properly  / /  – we need to specify them in the Operators section (screenshot), because for some reason PeopleCode has more that 2 types of comments –

/+ your comment +/

/* your comment */

rem your comment

remark your comment

notepad comments configuration

 

Enjoy – in my next post I will explain how Notepad++ can be effectively used for looking at PeopleCode Trace files.

 
 

After searching the Web, I have found that there is not enough documentation about IMAGE-SIZE of the PRINT-IMAGE command, or I have not done the search right ;-). Either way here it goes in plain English:
Excerpt from the Book:

   1: PRINT-IMAGE

   2: Syntax

   3: PRINT-IMAGE[image_name]position

   4: [TYPE={image_type_lit|_var|_col}]

   5: [IMAGE-SIZE=(width_num_lit|_var|_col,height_num_lit

   6: [SOURCE={file_name_txt_lit|_var|_col}]

IMAGE-SIZE – Specifies the width and height of the image. The width (width_num_lit) is specified in the font point-size that you have specified in the print command or ALTER-PRINTER. So putting:

alter-printer point-size=14 font=4

would affect your image size. Height (height_num_lit) – is specified in the line height. So changing

   1: DECLARE-LAYOUT

   2: [CHAR-WIDTH=char_width_num_lit[uom]]

   3: [LINE-HEIGHT=line_height_num_lit[uom]]

   4: END-DECLARE

   5: Would have an effect on the image width and height.

Enjoy!

Tags:

© 2011 WorkingScripts Suffusion theme by Sayontan Sinha

Switch to our mobile site