*blush*
perfect, /Christian > -----Original Message----- > From: Dmitry Lomov [mailto:[EMAIL PROTECTED]] > Sent: den 4 juli 2002 17:40 > To: [EMAIL PROTECTED] > Subject: [Eap-features] Re: Extended smart completion (backward) > > > Christian, > you can use "Introduce Variable" for this. > > Friendly, > Dmitry > > Christian Andersson wrote: > > Complete the method result type and save-variable on request. > > When I develop I find myself often in a situation where I've typed > > ... > > document.getReferences(); > > ... > > Well method getReferences() returns a Vector and I've > forgot to save it in a variable. > > I'd like to place my caret at the beginning of the line > and, upon some keystroke, either get a list of variables that > match the return type (Vector) or get "Vector $END$ = " along > with "Vector references = " as completion suggestion. > > ... > > Vector referenceList = new Vector(); // Already defined > > ... > > referenceList| = document.getReferences(); > > ... > > OR > > ... > > Vector references| = document.getReferences(); > > ... > > OR > > ... > > Vector | = document.getReferences(); > > ... > > > > This would be much useful to me while I often know what > object to use, but I'm not always sure of the method name and > return type to use. > > I know this is kind of "backward" completion and it might > be difficult (impossible?) to implement, but one can always > suggest it? > > > -- > Dmitry Lomov > JetBrains Inc. / IntelliJ Software > http://www.intellij.com > "Develop with pleasure!" > > _______________________________________________ > Eap-features mailing list > [EMAIL PROTECTED] > http://lists.jetbrains.com/mailman/listinfo/eap-features > _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
