[Asterisk-Users] Preferred editor(s) dialplan coding?

Tzafrir Cohen tzafrir at cohens.org.il
Sun Mar 5 02:56:54 MST 2006


On Fri, Mar 03, 2006 at 03:06:02PM -0500, S McGowan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hey all,
> 
> First of all, hello again! Been a while since I've posted to the
> list, but I've been here lurking and watching ;-)
> 
> Anyway, I wanted to pose a general question to the list to see
> if it turns up new suggestions for everyone/me.
> 
> What is your preferred editor when coding in the dialplan? This
> is mainly aimed at those of you who write the larger, more
> complex dialplans.
> 
> I've been using UltraEdit, but would like to see if I can't find
> a better one, especially one with the ability to add-on and make
> it more Asterisk friendly.
> 
> What I'm looking for:
> 

Let's try to give an answer that is slightly better than simply
"$FAVORITE_EDITOR" and variations, please.

a vim user myself. I don't use most of what you descvribe below,
however:

> 1. Syntax Highlighting, and ease of updating that highlighting

Update asterisk.vim

> 2. Auto-updating lists (like sidebars) with: (this is a total
> WISH list)
>     Variables
>     Contexts
>     a Command list?

Not sure how to implement this in vim

Maybe through some tweak of ctags?

> 3. SVN and/or CVS integration
> 4. Project ability

There are standard macros for that. See http://vim.org/ . As I don't use
it myself, I can't comment on them.

> 5. Macros (Macros are soooo handy!)

naturally. try :h map

> 6. Autocompletion (and autocomplete edit ability)

Depends on the type of auto completion. Both vim and emacs have a simple
words-based autocompletion that runs out to be a very powerful tool (in
vim.

If you have something working with ctags, then it can probably complete
better spanning multiple files. I'm not sure regarding context-sensitive
completion.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend




More information about the asterisk-users mailing list