문제

I love PyCharm, but can't seem to find a way to enable Ruby syntax highlighting. I know about RubyMine, but I'm not going to purchase a license just for this basic functionality. Is it possible to add Ruby syntax highlighting in PyCharm?

도움이 되었습니까?

해결책

You can either create a new file type in Settings/File Types, add .rb as registered pattern there, and define your own syntax highlighting rules, or search for existing textmate bundles for Ruby files in the web, import them and use for syntax highlighting - see http://blog.jetbrains.com/phpstorm/2013/05/textmate-bundles-in-phpstorm/ and https://stackoverflow.com/a/16451778/2000323 for more info

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top