Why isn't syntax highlighting working for Ruby files (.erb) in Chrome Devtools?

≡放荡痞女 提交于 2020-01-24 08:55:26

问题


According to this press release, Chrome Developer Tools can syntax highlight several languages, including .erb files: https://plus.google.com/+GoogleChromeDevelopers/posts/MnikfMyJ14X

However, .erb syntax highlighting doesn't seem to work for me on neither Chrome Canary or Chrome Stable on my machine (see screenshot below).

There doesn't appear to be anything to configure, so I'm not sure what could be the issue or if there is an issue to resolve.

Can anyone confirm/deny if syntax highlighting works as indicated & expected for any Ruby files in any version of Chrome Developer Tools?


回答1:


I can confirm that it works on my build of Chrome. The version is 44.0.2403.157 (64-bit) and I'm running it on Arch Linux, kernel 44.0.2403.157 (64-bit).



来源:https://stackoverflow.com/questions/24878978/why-isnt-syntax-highlighting-working-for-ruby-files-erb-in-chrome-devtools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!