views:

62

answers:

3

Can anyone recommend some good IDEs or editors for Mason?

At this point I'm just using VIM but it would be nice to have an editor that supports syntax highlighting as well as general syntax checking.

There are plenty that support Perl of course, but when it comes to files with Mason and Perl intertwined the editors tend to get confused and highlight incorrectly.

A: 

I don't know if it supports anything special for Mason but have you tried Padre?

xenoterracide
A: 

IMHO, it would not be hard to write a plugin for Padre to support Mason files. You can try to do this yourself - Padre is written in Perl and writing syntax plugins does not require GUI programming,

P.S. Don't ask me to do this - I'm already involved in big number of OSS projects. But you can always ask for help on IRC.

Alexandr Ciornii
+2  A: 

Komodo IDEs (ver. 4 to 6) have Mason-support and can handle Mason and HTML in the same document. I wouldn't be suprised if the Komodo-Edit has that also.

Komodo-Changelog-29642:

What's new in Komodo 4.0.3:

New languages: Support for Template-Toolkit, HTML-Mason

Regards

rbo

rubber boots
Great, I'll check that out.
byte
I re-checked and loaded a mason file into Komodo (5.2) and it only supports (correct) syntax highlighting (of Perl parts and HTML-Parts) + minimal syntax checking on the Perl-Blocks. There's no *real* syntax check w/error display like in regular Perl-Files. Also, you have to direct Komodo (View -> "View as Language") to select Mason-display. So this wouldn't really fulfill your requirement (general syntax checking).
rubber boots
Unfortunate. :(
byte