[英]Inline RubyDocumentor line like in PHP?
In PHP we can describe any variable and get proper auto-complete in an IDE like PHPStorm. 在PHP中,我们可以描述任何变量,并在类似PHPStorm的IDE中获得正确的自动完成功能。
/** @var MyClass $my */
$my = $this->getMy();
Is there some way to make it in RubyMine by using RDoc? 有什么方法可以使用RDoc在RubyMine中实现?
Finally found among my old code... :) 终于在我的旧代码中找到了... :)
# @type [Some::MyClass] my
my = getMy
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.