SmartType completion for Exceptions

When I have the following code and | is the cursor, why doesn't SmartType completion (CtrlShiftSpace) suggest RuntimeException? Isn't this supposed to work?


This behaviour is the same in both Pallada #2244 and Irida #3075. I thought SCR #9338 was about this exact issue, but it was fixed a long time ago...
http://www.intellij.net/tracker/idea/viewSCR?publicId=9338

Bas

0
3 comments
Avatar
Permanently deleted user

Yeah, this has been a problem for me too. I assumed it was a known bug or I would've reported it. Should one of us report it?

0

Well, since there has been no response that this issue is by design, I have submitted an SCR:
http://www.intellij.net/tracker/idea/viewSCR?publicId=39073

Bas

0
Avatar
Permanently deleted user

Hi,

Currently SmartTypeCompletion suggests exceptions marked in method thows
only.

Bas Leijdekkers wrote:

When I have the following code and | is the cursor, why doesn't SmartType completion (CtrlShiftSpace) suggest RuntimeException? Isn't this supposed to work?

 	public void test() {
> 		throw new Run|
> 	}
> }]]>


This behaviour is the same in both Pallada #2244 and Irida #3075. I thought SCR #9338 was about this exact issue, but it was fixed a long time ago...
http://www.intellij.net/tracker/idea/viewSCR?publicId=9338

Bas



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.