Feature #2623

C# syntax highlighting

Added by Anonymous over 8 years ago. Updated 24 days ago.

Status:NewStart date:2009-01-30
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Third-party libraries
Target version:Unplanned
Resolution:

Description

This would be useful both for inline code in wiki pages/forum posts and for browsing files in the repository.


Related issues

Related to Redmine - Feature #24681: Syntax highlighter: replace CodeRay with Rouge New

History

#1 Updated by Sergej Jegorov over 8 years ago

+1

#2 Updated by Adrien Crivelli over 8 years ago

That would be neat indeed. But I guess that's rather CodeRay job. It's planned for 1.0RC1 which is due in ~50 days. So hopefully it will soon be available in Redmine too. ( http://code.licenser.net/issues/show/78 )

#3 Updated by Paul Quirk over 8 years ago

Meantime, for wiki markup etc, using java lang support via the code markup tag does a pretty good job on c# code

#4 Updated by Mischa The Evil over 6 years ago

  • Category changed from Wiki to Third-party libraries

Changed issue-relations to reflect the upstream roadmap:

- related to Feature #4264: Update CodeRay to 1.0 final
+ blocked by Feature #8253: Update CodeRay to 1.1 final

and changed to new - more appropriate - category...

#5 Updated by Mischa The Evil over 6 years ago

  • Target version set to Unplanned

#6 Updated by Ebrahim Mohammadi over 6 years ago

Implementing #8120 as discussed would solve C# syntax highlighting, since both Google Code Prettify and Sunlight support C#.

#7 Updated by Nuno Duarte over 6 years ago

+1

#8 Updated by Terence Mill about 6 years ago

+1

#9 Updated by Jason E over 4 years ago

+1 We are a C# house so this would be greatly appreciated.

#10 Updated by Mischa The Evil over 4 years ago

Just came around forum-message: C# scanner file for CodeRay. Although it is old (for CodeRay 0.7.6.227; Redmine 2.3.0 uses 1.0.6 [source:/tags/2.3.0/Gemfile#L6]), it might provide (the base for) an interim solution untill the scanner has been actually implemented upstream.

#11 Updated by Etienne Massip over 4 years ago

Mischa The Evil wrote:

Redmine 2.3.0 uses 1.0.6 [source:/tags/2.3.0/Gemfile#L6]

Up to 1.0.9 =)

it might provide (the base for) an interim solution untill the scanner has been actually implemented upstream.

FTR, the issue in the Coderay IT is located here : https://github.com/rubychan/coderay/issues/54.

#12 Updated by Jeff Pierson over 4 years ago

According to the CodeRay issue tracker the C# syntax highlighting feature appears to be slated for 1.1 but has been punted for around 4 years just as this issue has.

http://odd-eyed-code.org/issues/78

I'm assuming this is a new link to the same issue posted posted before in comment#2 (http://code.licenser.net/issues/show/78).

#13 Updated by Pedro Calvo over 4 years ago

+1

#14 Updated by Jeff Pierson about 4 years ago

It appears that there is also a related forum thread on a C# scanner file for CodeRay.

#15 Updated by Mischa The Evil almost 4 years ago

  • Blocked by deleted (Feature #8253: Update CodeRay to 1.1 final)

#16 Updated by Mischa The Evil almost 4 years ago

A scanner for C# is not included in CodeRay 1.11.

Jeff Pierson wrote:

It appears that there is also a related forum thread on a C# scanner file for CodeRay.

That is exactly what I said in note-10.

Jeff Pierson wrote:

According to the CodeRay issue tracker [...]

http://odd-eyed-code.org/issues/78

I'm assuming this is a new link to the same issue posted posted before in comment#2 (http://code.licenser.net/issues/show/78).

It seems the author of CodeRay has used/has been using several issue tracking systems over the years. The feature request to add a C# scanner is now being handled in an issue on GitHub (https://github.com/rubychan/coderay/issues/54), as already stated by Etienne in #11.

1 https://github.com/rubychan/coderay/blob/master/Changes.textile

#17 Updated by Go MAEDA 10 months ago

  • Related to Feature #24681: Syntax highlighter: replace CodeRay with Rouge added

#18 Updated by Roman Yagodin 24 days ago

+1

Also available in: Atom PDF