Yikes, don't document your code?! That has nothing to do with XP. I hope I don't have 
to maintain your code in the future ;-)

Wouldn't it be much easier just to go to the method declaration (ctrl + B), rather 
than try to view the code in a little pop up window? 

In any case, I wouldn't want to see time spent on this since it's already implemented 
as "Go to | GotoDeclaration" and "Go to | Back". 

-Stephen 

-----Original Message-----
From: Erik Hanson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 5:57 PM
To: [EMAIL PROTECTED]
Subject: [Eap-features] Method contents popup window


Trying to follow XP practices to the extreme, I've been trying to let the code
of my methods be the documentation, so I haven't been creating JavaDoc
comments for my methods (except for public API methods).

IDEA's very cool JavaDoc popup (ctrl-Q) feature therefore doesn't help me as
much as it might help other people. It would be cool if IDEA provided a method
contents popup (ctrl-alt-Q or something) that would show the contents of
selected method in the same kind of popup box. If the method was bigger than
the box, the box could scroll or the contents could be truncated (maybe
truncation would force the programmer to make smaller methods).


(In case anyone is wondering, the argument against JavaDoc comments is that if
you don't change the comments when you change the code, you then have a worse
situation (incorrect comments) than you'd have if you didn't provide any
comments. I haven't decided if I agree with it, but I thought I'd try it out
for a while.)


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to