Go-to autoinject declarations 2

My question related to https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003507859-Go-to-autoinject-declarations-

Sample project:

class Services::Command::Execute ###1
end

class ServicesContainer
extend Dry::Container::Mixin
register("services.command.execute") { Services::Command::Execute } ###2
end

ServicesInjector = Dry::AutoInject(ServicesContainer)

class SomeClass
include ServicesInjector[
executeCommandService: "services.command.execute"
]

def some_method
executeCommandService.new
end
end

As mentioned before, RubyMine doesn't recognize strings like "services.command.execute".

What I want is to have some functionality that jumps me to ###2 or (much better) to ###1 when I Cmd-Click on executeCommandService in some_method. Could it be possible?

Please sign in to leave a comment.