原文: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:
- Download Notepad++ from http://notepad-plus.sourceforge.net/
- After install go to Settings and remove all languages that you are not using:
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 -
b) Paste PeopleCode and SQR Syntax files attached below into %appdata%\Notepad++\
Download File – PeopleCode SQR Syntax Filesc) Close and restart Notepad++
4. Configure Notpad++ to recognize sqr and peoplecode by following the instructions below:
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.