typical example is the use of assert() in JUnit TestCases 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Tal Dayan
> Sent: Thursday, November 29, 2001 11:37 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] Static members not shown in autocompletion for
> objects
> 
> 
> You assume that the desired outcome is class.static_method. 
> In our case, we
> sometimes
> using also the style instance.static_method. It would be nice 
> if IDEA would
> support this style as jBuilder does since it is in the Language.
> 
> Tal
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Mark Swinkels
> > Sent: Wednesday, November 28, 2001 10:15 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [Eap-list] Static members not shown in 
> autocompletion for
> > objects
> >
> >
> > Perhaps we could have a keystroke that would replace an 
> instance by its
> > class. You could type variableOfClassX<alt-C> and you would 
> get X. I can't
> > think of any quick way to get the class of a variable into 
> code currently
> > that doesn't involve a lot of keystrokes.
> >
> > -- Mark
> >
> > -----Original Message-----
> > From: Michael Kirby [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 28, 2001 03:00a
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Eap-list] Static members not shown in 
> autocompletion for
> > objects
> >
> >
> > You don't need to do that.  Just type Class.<ctrl-space>, instead of
> > variable.<ctrl-
> > space>.  The problem with putting it in the variable is that you
> > end up with
> > an
> > instance variable accessing static methods, and it isn't 
> obvious from the
> > code that
> > you aren't really changing the state of an object (unless 
> the project uses
> > some kind
> > of naming convention for static variables and methods).
> >
> > I agree however, it is a stylistic preference.  It is, 
> unfortunately,
> > available in the
> > language.
> >
> > Mike
> >
> >
> > On 27 Nov 2001 at 21:10, Tal Dayan wrote:
> >
> > >
> > > +100
> > >
> > > This is a matter of style preference and is 100% valid in the
> > language. I
> > call Intellij to have it as
> > > an option so each user
> > > can choose the style he prefers.
> > >
> > > We have used it intensively with jBuilder and it is very 
> cumbersome to
> > have to go the the other
> > > class, open the structure and looks
> > > for the name of the desired member. After all, this is what the
> > autosuggestion is intended to
> > > solve.
> > >
> > > Tal
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Liu, Mike
> > > Sent: Tuesday, November 27, 2001 7:08 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: [Eap-list] Static members not shown in 
> autocompletion for
> > objects
> > >
> > >     There are cases where you want to do it. But couldn't 
> IDEA make this
> > feature into an
> > >     option?
> > >
> > >
> > > thanks,
> > > Mike Liu
> > >
> > >
> > >     -----Original Message-----
> > >     From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > >     Patrik Andersson
> > >     Sent: Tuesday, November 27, 2001 12:55 PM
> > >     To: '[EMAIL PROTECTED]'
> > >     Subject: SV: [Eap-list] Static members not shown in
> > autocompletion for
> > objects
> > >
> > >     -1
> > > Personally, I do not want to see static members of an object on
> > > autocomplete. Also, that makes people write bad code. (Accessing
> > > static members using an instance).
> > > regards,
> > > Patrik Andersson
> > > -----Ursprungligt meddelande-----
> > > Fran: Vladimir Kudinov [mailto:[EMAIL PROTECTED]]
> > > Skickat: den 27 november 2001 21:27
> > > Till: [EMAIL PROTECTED]
> > > Amne: [Eap-list] Static members not shown in 
> autocompletion for objects
> > >
> > > Static members are not shown in autocompletion for objects.
> > > For example in this excerpt:
> > > Integer.|
> > > with cursor positioned at | , after Ctrl+Space shows 
> MAX_VALUE (static
> > > member) in the list.
> > > However the autocompletion list for object, like in this excerpt
> > > new Integer(0).|
> > > don't show static member MAX_VALUE (nor any other static 
> members of
> > > java.lang.Integer class).
> > > The question is: could it be possible to show static members in
> > > autocompletion list for objects.
> > > Maybe this feature should be configurable...
> > > ---
> > > Vladimir Kudinov
> > > V6.RU
> > >
> > > _______________________________________________
> > > Eap-list mailing list
> > > [EMAIL PROTECTED]
> > > http://www.intellij.com/mailman/listinfo/eap-list
> >
> > ---
> > [EMAIL PROTECTED]
> > To obtain my PGP public key, mail "SEND PUB KEY" in the
> > subject to "[EMAIL PROTECTED]"
> >
> >
> > _______________________________________________
> > Eap-list mailing list
> > [EMAIL PROTECTED]
> > http://www.intellij.com/mailman/listinfo/eap-list
> >
> > _______________________________________________
> > Eap-list mailing list
> > [EMAIL PROTECTED]
> > http://www.intellij.com/mailman/listinfo/eap-list
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 

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

Reply via email to