eclipse - Auto generate variable for return value of method -
i find myself in situation , , 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
Post a Comment