Pass the current editor file as argument to run config

Hi,

I want to pass the current editor file as argument to a Ruby script.
Is this possible? I cannot find a way to evaluate any avalable variable.

Thanks

Andrea

3 comments
Comment actions Permalink

Hi,

there is no such variable :(  Could you please describe why do you need one?

Regards, Oleg.

0
Comment actions Permalink

Say you want to run gem command that need the current file as argument.
An example can be rubocop [file path]

Andrea

0
Comment actions Permalink

Well, it is interesting idea, feel free to file request in our tracker (https://youtrack.jetbrains.com/issues/ruby)

0

Please sign in to leave a comment.