eclipse - Auto generate variable for return value of method -


i find myself in situation selection list, , find annoying, have change method hand like

list<mpartsashcontainerelement> list = sps.getchildren() 

is there way, on point shown in picture, can have first part of above assignment automatically added, such that

sps.[ctrl+space - selection on getchildren()] may directly lead upper expression?

update

this became part of bachelor thesis on postfix code completion, , feature right underway. if want know more check google plus announcement or postfix template implementation.

no. can finish writing sps.getchildren(), cursor in getchildren selector, use ctrl+1 assign result new local. there's no way tell when you're "done" , ready have left-hand side of expression inserted--you calling on result of getchildren(), after all.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -