[MonoDevelop] Monodevelop 0.9 syntax highlighting not working

John Luke john.luke at gmail.com
Sat Jan 14 11:58:53 EST 2006

Sorin Peste wrote:
> I have the same problem, also using SUSE 10 and monodevelop 0.9. After 
> looking around a bit, it seems that after installing 0.9 (SUSE RPM), I 
> have no ~/.config/MonoDevelop/SyntaxHighlighting.xml file, and after 
> running monoDevelop for the first time, it is created with just the 
> root element.
> I tried reverting to what I had before (monodevelop 0.7) after 
> deleting the ~/config/MonoDevelop dir, but no luck.
> Could someone please help me with a good SyntaxHighlighting.xml file? 
> Thank you.
That file only stores _customizations_ of the style/color of 
highlighting.  An empty or missing one just means use the default style.
So it is not likely your problem. The syntax highlighting itself works 
by mimetype, so it is likely your system doesn't recognize the file type you
are trying to open.  I assume you mean a C# file? The gnomevfs-info 
command can tell you what type it thinks it is. You could also try to open
a .xml or .py or .c file to see if they work.
> PS. Also, if I click a button in the Edit->Preferences->Text 
> Editor->Syntax highlighting window in this situation (no elements), 
> the IDE hangs.
That sounds like a bug that would be nice to have in bugzilla, with some 
sort of backtrace.  Although it may be because you accidentally mixed
in the old release on top of the current one.

More information about the Monodevelop-list mailing list