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

0
3 comments
Avatar
Oleg Sukhodolsky

Hi,

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

Regards, Oleg.

0

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

Andrea

0
Avatar
Oleg Sukhodolsky

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.