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
Please sign in to leave a comment.
Hi,
there is no such variable :( Could you please describe why do you need one?
Regards, Oleg.
Say you want to run gem command that need the current file as argument.
An example can be rubocop [file path]
Andrea
Well, it is interesting idea, feel free to file request in our tracker (https://youtrack.jetbrains.com/issues/ruby)