简体   繁体   English

Scala的Netbeans类型信息

[英]Netbeans type info for Scala

In the IntelliJ Scala plugin, there is a "Type Info" command that when run with the mouse hovering over a variable, shows the variable's (inferred) type. 在IntelliJ Scala插件中,有一个“类型信息”命令,当鼠标悬停在变量上运行时,显示变量的(推断)类型。

Is there something similar in the Netbeans Scala plugin? Netbeans Scala插件中有类似的东西吗?

NetBeans has this too. NetBeans也有这个。 See screenshot here type inference in NetBeans 请参见NetBeans中的屏幕截图类型推断

You need to press Ctrl key and then hover the mouse. 您需要按Ctrl键,然后将鼠标悬停。

This works in NetBeans 6.8 with Scala 6.8. 这适用于带有Scala 6.8的NetBeans 6.8。 I haven't mixed other versions. 我没有混合其他版本。

浮动时按住Ctrl键。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM