Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rubymine - enable line numbers

Tags:

ruby

rubymine

Does anybody know how I can enable line numbers for Ruby (and Ruby on Rails as well) projects?

like image 769
Alexandre Avatar asked Jun 16 '12 17:06

Alexandre


2 Answers

This setting is located in File | Settings (Preferences on Mac) | Editor | Appearance | Show line numbers:

show line numbers

like image 114
CrazyCoder Avatar answered Oct 18 '22 11:10

CrazyCoder


On Rubymine 7.1, using a Mac, I found it under:

  • Preferences --> Editor --> General --> Appearance

Near the top is a Show line numbers checkbox. See illustration.

Illustration of the Preference in Mac OS X

like image 24
idStar Avatar answered Oct 18 '22 11:10

idStar