Phoebe
Phoebe

Reputation: 198

How to automatically evaluate expressions after hash rockets in Sublime Text

In the Ruby Kickstart tutorial ('05:10), when a hash rocket # => is typed within the text editor, it shows what the expression will evaluate to. For example:

2 + 3    # =>    5

I am using Sublime Text 2, though cannot find how to get this to work. I would appreciate any guidance.

Upvotes: 1

Views: 264

Answers (2)

Pᴇʜ
Pᴇʜ

Reputation: 57743

Check out Ruby Markers plugin.

Upvotes: 2

steenslag
steenslag

Reputation: 80085

Josh Cheek's Seeing is believing does that.

Upvotes: 1

Related Questions