How to add 1-st row encoding comment automatically

Hello, i'm using RubyMain and have such problem:

file in "project/models/" catalogue - product.rb must contain russia letters - as i know, File must be UTF-8 encode (IDE done it well), and File must have 1-st or 2-nd row special comment (as "#encoding:utf8").

How to manage RubyMine to add this comment automatically it all *.rb files?

1 comment
Comment actions Permalink

I'm afraid there is not such functinality :(
If you think it is important to have it in RM feel free to file a request in our tracker

Regards, Oleg.


Please sign in to leave a comment.