Search code examples
rubyautocompleterubyminerdoc

Inline RubyDocumentor line like in PHP?


In PHP we can describe any variable and get proper auto-complete in an IDE like PHPStorm.

/** @var MyClass $my */
$my = $this->getMy();

Is there some way to make it in RubyMine by using RDoc?


Solution

  • Finally found among my old code... :)

    # @type [Some::MyClass] my
    my = getMy