Notepad++ for Peoplecode and SQR

1 Star2 Stars3 Stars4 Stars5 Stars (8 votes)

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 absolutely 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 http://www.greyheller.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

 

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”

Please Note for Notepad 6.8+ (These intrusions were kindly contributed by Ganesh P.):

For Notepad++ 6.8.* please use the following instructions for install installing the syntax files.

1. Go to Language > User Defined Language > Click on Import Button > Import the Peoplecode and SQR downloaded files from the links given by Yury.
2. Go to Language > User Defined Language > Check if the import is successful by clicking User Language drop box. If it is successful you can see your language in the drop-down box.
3. Again go back to Language >  and below you can see newly imported languages.

4. Select the language and it is done.

No need to restart the Notepad++ you can see the changes immediately

 

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

Comments
  1. Mick McHugh |
  2. Iouri Chadour |
  3. Iouri Chadour |
  4. galahad |
  5. Iouri Chadour |
  6. Galahad |
  7. Iouri Chadour |
  8. galahad |
  9. galahad |
  10. Shane |
  11. Shane |
  12. Iouri Chadour |
  13. Matthew Parslow |
  14. Iouri Chadour |
  15. David Garcia |
  16. Iouri Chadour |
  17. Stephan |
  18. Iouri Chadour |
  19. Yowi |
  20. Iouri Chadour |
  21. Krishna |
  22. Iouri Chadour |
  23. sj |
  24. Wilson |
  25. marlon |
  26. Philippe |
  27. Iouri Chadour |
  28. Iouri Chadour |
  29. raj |
  30. Iouri Chadour |
  31. Rahul |
  32. Iouri "Yury" Chadour |
  33. Mike Jones |
  34. Jack |
  35. Yepez |
  36. Iouri "Yury" Chadour |
  37. Peck |
  38. Peck |
  39. Iouri "Yury" Chadour |
  40. Usman |
  41. Sebastian |
  42. Iouri "Yury" Chadour |
  43. Smitha |
  44. Iouri "Yury" Chadour |
  45. Nayan Paul |
  46. Iouri "Yury" Chadour |
  47. David |
  48. Iouri "Yury" Chadour |
  49. Iouri "Yury" Chadour |

I really want to know what you think