Notepad++ for Peoplecode and SQR

原文:http://workingscripts.com/2009/06/notepad-peoplecode-sqr/

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:

Notepad++ for Peoplecode and SQR_第1张图片Notepad++ for Peoplecode and SQR_第2张图片

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

Download Files -

PeopleCode IntelliSense 1

PeopleCode IntelliSense 2

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:

Notepad++ for Peoplecode and SQR_第3张图片

Notepad++ for Peoplecode and SQR_第4张图片

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

/+ your comment +/

/* your comment */

rem your comment

remark your comment

 

In order to enable Autocompletion (IntelliSense) you need to go to Settings → Backup\Auto-Complete tab

Enable → “Enable auto-completion on each input”
Select → “Word Completion”
Enable → “Function parameters hint on input”

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


你可能感兴趣的:(Notepad++)