Convert tabs to spaces or vice versa

I'm using RubyMine 2.0 and can not figure out how to convert tabs to spaces. Is this feature implemented?

Thank you.

Cao

2 comments
Comment actions Permalink

Cao,

This is configured under 'Code Style'->'General' section in Project Settings.
There is 'Use tab character' option for different file types.

Hope it helps,
-Eugene

0
Comment actions Permalink

Thank you.

However, when I paste some content which contains tabs and save file, tabs are not converted to spaces. I've figured out a workaround though: just indent and unindent then all tabs are converted based on my tab settings.

0

Please sign in to leave a comment.