[Mono-osx] Xcode 3 C# syntax coloring

marc hoffman mh at elitedev.com
Sun Jan 20 13:31:02 EST 2008


Andreas,

> 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.

cool. those work, as did my Chrome ones after i put em into that folder 
(still cant get e to work as part of a compiled .pblugin, but thats for 
later).

Now the next step (besides fleshing these out), i guess, is getting the 
build to work again. the old .pbbuildrules and co no longer seem to work 
(i keep getting "foo.pas - no buld rule for target mono", even though 
there shold be)...

We should cordinate to get all the language-agnostic Mono (like 
defiitions for "compiled.mono.executable" and that kinda stuff) items 
into files that can be shared with C# and Chrome without to much 
duplication. Maybe the same can be done for the actual plugin ObjC code 
that invokes the compiler (or generates its command line), etc....

Yours,

-- 
marc hoffman

RemObjects Software
The Infrastructure Company
http://www.remobjects.com


More information about the Mono-osx mailing list