Community
Participate
Working Groups
Example: getFoo(getBar()) If I select the whole thing, 'bar' is suggested. Similarly, getFoo(getBar(getFooBar())) fooBar is suggested.
Created attachment 187429 [details] Extract Local Variable, nested function calls patch Patch + tests.
Created attachment 189338 [details] Extract Local Variable, nested function calls patch Updated copyrights
Created attachment 189339 [details] mylyn/context/zip
Fixed in HEAD.
*** cdt cvs genie on behalf of mlaperle *** Bug 335202 - [Extract Local Variable] Suggested name is wrong for nested function calls [*] ExtractLocalVariableRefactoring.java 1.15 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/refactoring/extractlocalvariable/ExtractLocalVariableRefactoring.java?root=Tools_Project&r1=1.14&r2=1.15 [*] ExtractLocalVariable.rts 1.10 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/all/org.eclipse.cdt.ui.tests/resources/refactoring/ExtractLocalVariable.rts?root=Tools_Project&r1=1.9&r2=1.10