Consider the following code style:
void someFunction(....)
{
doSomething
}
Folding of the method (via shortcut) doesn't work if the cursor is on the same line as the method declaration. I know that this is a special case, but it should work in my opinion.
Original Tracker was closed and reopened several times: http://www.intellij.net/tracker/idea/viewSCR?publicId=12050