History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-23040
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: t800t8
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Ctrl + Shift + Enter doesn't work for "for (; ;)"

Created: 05 Nov 07 04:32   Updated: 06 Nov 08 23:06
Component/s: Editor. Code Completion
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,531


 Description  « Hide
When I do code completion for "for (; ;)" by pressing Ctrl + Shift + Enter, IDEA doesn't generate "{" and "}" for me.

 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 06 Nov 07 12:48
Could you please provide a larger code example where this doesn't work? I wasn't able to reproduce this right away.

t800t8 - 06 Nov 07 12:54
Sound strange. I can reproduce it every places, even with a class contains main() only and the main()'s body is empty.

Dmitry Jemerov - 06 Nov 07 13:32
Indeed, it does happen in an empty code block. I initially tried it in the middle of existing code.

t800t8 - 06 Nov 07 13:43
With me, it happens every places, even in an empty code block and none empty one. I will try it at home later to see it will difference or not.

t800t8 - 06 Nov 07 16:37
I've just checked at home, it has same problem.