S
S
Sorbing2012-03-12 15:59:47
Eclipse
Sorbing, 2012-03-12 15:59:47

Block comments are completely collapsed (Eclipse, NetBeans). Why?

Hello, Khabrovites.
I’ll immediately expand the essence of the question - why, when folding (folding) a function (method) in the IDE, the declaration of the function and parameters are displayed, while block comments are completely collapsed? Why not display the first line with a brief description when the documentation block for a method/function is collapsed.
I will describe the essence of the issue visually (Eclipse IDE).
Now documentation folding works like this (a short description is not displayed):
LIF5Y.png
But it would be more convenient to observe a collapsed comment block like this:
Hg9X5.png
You often have to collapse / expand documentation blocks or wait for a hint with a description of the collapsed block.
Checked in IDE Eclipse and NetBeans. According to Eclipse spoke here and here.
What do you think about this? Or is this desired behavior still not logical?
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrew, 2012-03-12
@Morfi

PHPStorm Collapses

into

B
bald2b, 2012-03-12
@bald2b

1. Hovering the mouse over a collapsed box shows the description
2. Pressing Ctrl+Shift+Space (in Netbeans) also shows the javadoc.
So they hide it right, why take up space

S
Sorbing, 2012-03-12
@Sorbing

As I understand it, very few people use folding.

S
Sorbing, 2012-03-13
@Sorbing

YAHOO! Just "accepted" Eclipse updates - the developers fixed the folding of comments (checked in PDT and JSDT).
We also need to tell the Spket developers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question