Asterisk UDL for Notepad ++

I’m using asterisk quite a lot with notepad ++ combined with Winscp.
I could not find any good user defined language for color coding and basic autocomplete.
I decided to make my own and share it .

http://goo.gl/tLrebd

What you get with this Asterisk 11 UDL:

1- Applications keywords in BLUE
2- Functions keywords in RED
3- All built-in variables in PURPLE
4- Comments in GREEN
5- Configuration file settings name in PINK
6- Context,Macro,Subroutines in ORANGE
7- Pattern matching in RED
8- Short description on all Functions and Applications
9- Jump to context,macro,subroutines (View—>Function Lists in Notepad ++)

You can add notepad ++ as the preferred editor in the Winscp option.

Here’s the basic steps to install it in Notepad ++:

1- Import the asterisk.xml into notepad ++ by going into language–>define your language and click on import.

2- (Optional) for functions list to work, you have to mofify the file functionList.xml
in the notepad ++ directory and add this part:

<association userDefinedLangName="asterisk" id="my_asterisk_passer_id"/>

<parser id="my_asterisk_passer_id" displayName="asterisk" commentExpr="&lt;!--([^-]|-(?!-&gt;))*--&gt;"> <!-- Only match nodes with at least one attribute --> <function mainExpr="^\[(.*?)\]" displayMode="$functionName"> <functionName> <nameExpr expr="^\[(.*?)\]"/> </functionName> </function> </parser>

Thanks for this!

Here’s the new UDL for Asterisk version 13 and the new pjsip driver. I have been using it for a few months now.
Attention : Configuration file settings are for the pjsip driver so chansip settings will not appear in pink in pjsip.conf.

http://goo.gl/ZSQQf6

Here’s the basic steps to install it in Notepad ++:

1- Import the Asterisk_13_UDL.xml into notepad ++ by going into language–>define your language and click on import.

2- Copy Asterisk.xml into the \plugins\APIs of notepad ++.

3- Modify the file functionList.xml or download mine and put it in the right directory.
You will have to modify it in %APPDATA%\notepad++\ if installed or in Notepad++ installed directory if using a zip package or portable version.

[code]

[/code]

The new version of Notepad ++ require the following to make it work:

1- Import the Asterisk_13_UDL.xml into notepad ++ by going into language–>define your language and click on import.

2- Copy asterisk.xml into the functionList folder of notepad ++

3 - Modify overrideMap.xml in the functionList folder of notepad ++ and add the following at the bottom for function listing to work:

Any update for modifying overrideMap.xml?