Open
Description
From: http://odd-eyed-code.org/issues/32
Tony Arnold asked for an Objective-C Scanner.
"Objective-C support would be great in CodeRay (and therefore Redmine). I haven't really looked at how CodeRay works (I'm not a Ruby developer), but is it possible to provide highlighting for Cocoa classes in addition to language syntax and keywords? See http://coderay.rubychan.de/rays/show/6332 for an example of "Cocoa heavy" Objective-C." @danthorpe
"Sure! A list of all the built-in names would be great. Objective-C is becoming more popular, and I'm a little familiar with it. You can speed up the work by collecting more (public domain or LGPL) example code." - @korny
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
korny commentedon Jun 23, 2013
Since I didn't start this one yet, let's push it to 1.2.
josefsalyer commentedon Jul 26, 2013
Hi! I need this. What do you need to get rolling?
korny commentedon Jul 26, 2013
More free time ;-)
And example code, lots of crazy syntax examples.
nathany commentedon Jul 26, 2013
I have a few Objective-C books I may be able to pull examples from.
josefsalyer commentedon Jul 26, 2013
I have more than few projects to pull code from.
Josef Salyer
@josefsalyer
480.286.5875
nathany commentedon Jul 26, 2013
Cool. Checkout the https://github.com/rubychan/coderay-scanner-tests repo.
josefsalyer commentedon Jul 26, 2013
I forked it and checked it out. Is there a particular git workflow that I
should use? Also, where is a good place to drop sample .h/.m files?
On Fri, Jul 26, 2013 at 5:31 PM, Nathan Youngman
notifications@github.comwrote:
nathany commentedon Jul 26, 2013
You'll need to create an objective-c folder with some .in.m files, just take a peek at how the other languages do it. I'm pretty sure there is a rake test to do some setup for you, but I don't remember off-hand. Feature branch + pull request would be grande.
korny commentedon Jul 27, 2013
The easiest way should be to check out the CodeRay repo and just run
rake test:scanners
. It checks outcoderay-scanner-tests
automatically then into a subfolder.tompave commentedon Dec 22, 2013
I'd like to start working on this one.
Are the guidelines still valid?
Is there any previous work I should be aware of?
4 remaining items