#688: static modifier
If I define a method like this:
public foo() {}
IDEA underlines the method name with curly line and tells: "Invalid method
declaration, return type required". This is right. But if I create a method
like this:
public static foo() {}
IDEA underlines "static" modifier and tells "Modifier static not allowed
here" which is not true. What it should do is just point out that return
type is missed.
P.S. BTW, it would be nice if I could copy error message to the clipboard.
Maybe you could add this option to context menu?
Michael Jouravlev.
请先登录再写评论。
"Michael Jouravlev" <mikus@mail.ru> wrote in message
news:at5tuc$l3j$1@is.intellij.net...
>
>
method
>
>
This should probably be submitted as a bug report in the IDEA Tracker
(http://www.intellij.net/tracker/idea/browse). I'm not sure if this bug has
already been submitted, so you'll want to use the Tracker's search engine
(http://www.intellij.net/tracker/idea/searchSCR?ok=search) before
submitting.
Feature requests may also be posted through the IDEA Tracker.
chris
Added both to tracker and voted for CVS window cosmetic bug at
http://www.intellij.net/tracker/idea/viewSCR?publicId=7276 .
"Chris Bartley" <spam@feynman.org> wrote in message
news:at5v9q$mr9$1@is.intellij.net...
method
>
has
>
clipboard.
>
>
>
>