質問

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