Project

General

Profile

Actions

Feature #2623

closed

C# syntax highlighting

Added by Anonymous almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2009-01-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

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 RougeClosedJean-Philippe Lang

Actions
Actions #1

Updated by Sergej Jegorov almost 16 years ago

+1

Actions #2

Updated by Adrien Crivelli over 15 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 )

Actions #3

Updated by Paul Quirk over 15 years ago

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

Actions #4

Updated by Mischa The Evil over 13 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...

Actions #5

Updated by Mischa The Evil over 13 years ago

  • Target version set to Unplanned backlogs
Actions #6

Updated by Ebrahim Mohammadi over 13 years ago

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

Actions #7

Updated by Nuno Duarte over 13 years ago

+1

Actions #8

Updated by Terence Mill over 13 years ago

+1

Actions #9

Updated by Anonymous over 11 years ago

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

Actions #10

Updated by Mischa The Evil over 11 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.

Actions #11

Updated by Etienne Massip over 11 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.

Actions #12

Updated by Jeff Pierson over 11 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).

Actions #13

Updated by Pedro Calvo over 11 years ago

+1

Actions #14

Updated by Jeff Pierson about 11 years ago

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

Actions #15

Updated by Mischa The Evil about 11 years ago

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

Updated by Mischa The Evil about 11 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

Actions #17

Updated by Go MAEDA almost 8 years ago

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

Updated by Roman Yagodin about 7 years ago

+1

Actions #19

Updated by Go MAEDA about 6 years ago

  • Category changed from Third-party libraries to Text formatting
  • Status changed from New to Closed
  • Target version deleted (Unplanned backlogs)
  • Resolution set to Fixed

Implemented in #24681 for upcoming Redmine 4.0.0.

Actions

Also available in: Atom PDF