Reputation: 5239
I use rake
scripts for running builds and would like to be able to get syntax highlighting within visual studio.
Is it possible to get ruby syntax highlighting in Visual Studio 2012
?
I've been searching for a while but not come up with a solution yet. I'm only looking for free solutions so Ruby In Steel is out.
Vote here for IronRuby support for visual studio 2012
Upvotes: 5
Views: 3350
Reputation: 2305
Unfortunately the IronRuby tools for Visual Studio don't yet support VS2012.
I might be wrong about that though, it seems that the development has been moved to Github.
My preferred external editor is Sublime Text so I've opted use that for Ruby files. You just right click on your rakefile.rb is the VS solution explorer and choose "Open With". In the dialog you can add an editor of your choice and set it to be the default.
Upvotes: 3
Reputation: 80
There was, at one point in 2008 anyway, a free edition of Ruby in Steel and it seems like the download link on that page does still work. It has a slightly limited feature set compared to pay versions of the software, but does include syntax Highlighting. So have a go and see if that will do what you need for free.
And for the rest of you, Neil specifically asked for VS internal syntax highlighting, not for you to plug your favorite text editor.
Upvotes: -1