Sublime Forum

Auto Complete closing keywords/tags? Rails, Ruby

#1

Can anyone recommend how to achieve auto closing end keywords for methods and loops in Ruby/Rails?

Example:

describe "#points" do     # when I type this...
	it "returns the sum of all down and up votes" do  # when I type this...
	expect( post.points ).to eq(@up_votes - @down_votes)
	end   #...would like for this to be auto completed on the next line.
end     #...would like for this to be auto completed on the next line.

Thanks in advance!

0 Likes