[MonoDevelop] How do I add support for other file types?

Ildar Mulyukov ildar at users.sourceforge.net
Wed Feb 7 07:16:49 EST 2007


	Hi, John.
I have made a similar thing to RPM spec files. BTW, it would be nice,  
if someone put it into libgtksourceview tree. To make it work, do the  
following (this adds sytax highlighting for RPM spec files to gedit,  
monodevelop and, maybe, some others):
* Put spec.lang into /usr/share/gtksourceview-1.0/language-specs/
* Put spec.xml  into /usr/share/mime/packages/
* Run update-mime-database with proper arguments
Hope it helps!

Regards, Ildar


On 07.02.2007 14:26:34, John Anderson wrote:
>  I just realized there were already templates in monodevelop for the   
> web  handler, It just doesn't get recognized in md for syntax  
> highlighting  or  intellisense, so the work I did on the templates  
> was a waste but I'd  still  like to know how to get it to recognize  
> the web handler =)
> 
> On 2/7/07, John Anderson <sontek at gmail.com> wrote:
>>   Hey, I was wondering if anyone could point me in the right  
>> direction  of  where to add support for other file types into  
>> monodevelop.  I want  to be  able to add HTTP Handler support  
>> (.ashx) to monodevelop.  I already  have the  templates wrote for  
>> the asp.net add-in but I also want md to  recognize the  code inside  
>> it for highlighing/intellisense.  Because HTTP Handler  doesn't   
>> support code behind so it has to have the WebHandler tag on top.

-- 
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: ildar at users.sourceforge.net
projects: http://os-development.sourceforge.net/
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spec.lang
Type: application/xml
Size: 3007 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070207/f2f0cfb4/attachment.rdf 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spec.xml
Type: application/xml
Size: 249 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070207/f2f0cfb4/attachment-0001.rdf 


More information about the Monodevelop-list mailing list