[Mono-osx] Xcode 3 C# syntax coloring

Andreas Färber andreas.faerber at web.de
Sat Jan 19 11:04:25 EST 2008


Hello,

Attached is a draft of a new-style language specification for C#.  
Defined and apparently working in Xcode 3.0 are preprocessor  
directives, using, namespace, class, interface and a number of keywords.

Methods, properties, delegates and fields are not specified yet, but  
defining the class/interface block as recursive seems to allow folding  
of any {} in their body including those of methods etc.
Also missing among other things is support for generics and newer  
language features.

For some reason, when I add the modifiers to the class definition,  
they were not displayed as keywords, so I commented that out. Java  
seems to be doing the same thing.

To use, copy the three .xc* files to e.g. /Developer/Library/Xcode/ 
Specifications. This should allow opening .cs files with Xcode from  
the Finder and adds a C# menu item to the Syntax Coloring menu.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CSharp.xclangspec
Type: application/octet-stream
Size: 9581 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20080119/02e16f42/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CSharp.xcspec
Type: application/octet-stream
Size: 1394 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20080119/02e16f42/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CSharp.xcsynspec
Type: application/octet-stream
Size: 1737 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20080119/02e16f42/attachment-0005.obj 


More information about the Mono-osx mailing list