Netbeans additional unneeded code hints
When i'm in Netbeans 8.0, developing JavaScript and i'm on a line of code like this:
var sum = (example / anotherExample)
And i type a dot after that so it becomes this:
var sum = (example / anotherExample).
And press CTRL+Space i get a lists of some code hints with the description of:
JS Platform
Like this:
Whenever I press CTRL+Space for the second time while im on that interface, it gives me the list with all possible code hints for that line of code.
Why is this?
This CTRL+Space
is a shortcut key to get hint about all the fields,methods,etc. defined for the attribute which you have used!
Taken from Netbeans Documentations,
When the user clicks Ctrl-Space , or an alternative key combination defined by the user, our code completion entries should appear. This is the COMPLETION_QUERY_TYPE . Alternative query types exist, such as DOCUMENTATION_QUERY_TYPE and TOOLTIP_QUERY_TYPE.
It helps completion of your code in a quick way without needing you to put efforts by typing manually the complete statement!
So,it's a much needed feature in IDE's and is a boon for developers. Also,if you have the documentation installed in your NetBeans Path or embedded in your NetBeans IDE,it will show the complete description of those parameters(fields,methods,etc) in the space.That's an extra plus point.
Happy,CHEERS!
链接地址: http://www.djcxy.com/p/25448.html上一篇: 如何在Visual Studio代码中格式化代码(VSCode)
下一篇: Netbeans额外的不必要的代码提示