Possible to add Ruby syntax highlighting to Visual

2019-07-16 20:11发布

When I open a Ruby file (*.rb) inside Visual Studio, it reads like a regular text file - with no syntax highlighting on language keywords.

Is there any way to set this up in Visual Studio?

Update: No, I don't use Visual Studio for Ruby development - I use Netbeans. But I would like to open a Ruby file in Visual Studio and see the proper highlighting.

3条回答
别忘想泡老子
2楼-- · 2019-07-16 20:45

I'm not entirely sure you can do it for free without the Ruby in Steel add-in.

If you're not completely happy with Visual Studio, perhaps you can use a text editor with syntax highlighting plugins freely available. I know Notepad++ has this feature.

查看更多
冷血范
3楼-- · 2019-07-16 20:50

There might be a plugin in Visual Studio, that may do that.

Use Netbeans, Textmate, jEdit, Eclipse for Ruby development, they are great IDEs.

( I am wondering why are you doing ruby development in Visual Studio, well you may have your reasons :) )

查看更多
The star\"
4楼-- · 2019-07-16 20:56

There is a Ruby plugin for Visual Studio by Sapphire Steel Software, called Ruby in Steel.

查看更多
登录 后发表回答