Open nul800sebastiaan opened 10 years ago
We need proper code highlighting for Razor in the Ace Editor but this doesn't exist yet.
I've tried to convert a tmLanguage file: https://github.com/joseph-turner/Razor/blob/master/Razor.tmLanguage using the TMLanguage tool http://ace.c9.io/#nav=higlighter but this resulted in JS errors.
It seems the best way to go is use the regex's found in https://github.com/joseph-turner/Razor/blob/master/Razor.JSON-tmLanguage to add razor to the HTML highlighter. I have no idea how to do this, would be good to find an "ace highlighter expert".
Looks like someone started this, looking good: http://stackoverflow.com/questions/21596964/ace-editor-plugin-for-mvc-razor-syntax
We need proper code highlighting for Razor in the Ace Editor but this doesn't exist yet.
I've tried to convert a tmLanguage file: https://github.com/joseph-turner/Razor/blob/master/Razor.tmLanguage using the TMLanguage tool http://ace.c9.io/#nav=higlighter but this resulted in JS errors.
It seems the best way to go is use the regex's found in https://github.com/joseph-turner/Razor/blob/master/Razor.JSON-tmLanguage to add razor to the HTML highlighter. I have no idea how to do this, would be good to find an "ace highlighter expert".