Add syntax highlighting for some major languages in editor (OD-135)
bufferUnderrun opened 6 years ago

Hi,

Could you add the support of syntax highlighting for some popular languages ?

  • vue.js
  • react

Actually, it don't work (see screenshoot)

image.png image_2.png

Thanks for you help and your great project

  • Michael Weimann commented 6 years ago

    Hmm @robin is there any reason why OneDev doesn't use the specific language modes of CodeMirror? It looks like it guesses some element styles. CodeMirror has so many supported languages with a nice highlighting - including Vue.js.

  • Robin Shen commented 6 years ago

    It is already using language modes, however we are still on a quite old CodeMirror version (5.21.0). Will upgrade to latest version to see if it solves the issue.

  • Robin Shen changed iterations 6 years ago
    Previous Value Current Value
    empty
    3.3.0
  • Robin Shen batch edited 6 years ago
    Name Previous Value Current Value
    Iterations
    3.3.0
    3.2.0
  • OneDev changed state to 'Closed' 6 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev changed state to 'Released' 6 years ago
    Previous Value Current Value
    Closed
    Released
issue 1/1
Type
Improvement
Priority
Normal
Assignee
Iterations
Issue Votes (0)
Watchers (3)
Reference
OD-135
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover