Named arguments issue marked as bug in Intellij for Ruby 2.x

Anyone have a solution? IntelliJ freaks out when I use the new named arguments function for ruby ​​2 in a method

def initialize(ini_url:, rundeck_url:, environment:, user:)
end

      

Or when calling a method providing named arguments

deploy_from_ini = DeployFromINI.new(ini_url: options[:ini_url],
rundeck_url: options[:rundeck_url],
environment: options[:environment],
user: options[:user])

      

This won't go away even if I installed the project level SDK in ruby ​​2.1.4

I've upgraded to IntelliJ 14.0, upgraded to the latest ruby ​​plugin (version 7.0.0.20141015) and still get red lines all over, which is very annoying. I reviewed RubyMine, but I read that the plugin might be lagging behind RubyMine. Not sure if this will solve the problem, and then I will be introduced to the workflow to flip back and forth between RubyMine and IntelliJ, since the project I am working on is not completely ruby, it just chops on it in different places.

+3


source to share


1 answer


This is not the answer you want, but yes, RubyMine does understand named parameters (including the "required to param" syntax you showed above).



+2


source







All Articles