Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347712 - Use shared AST in ExtractLocalVariableRefactoring
Summary: Use shared AST in ExtractLocalVariableRefactoring
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-refactoring (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 8.1.0   Edit
Assignee: Sergey Prigogin CLA
QA Contact: Sergey Prigogin CLA
URL:
Whiteboard:
Keywords:
: 339636 (view as bug list)
Depends on: 347599
Blocks: 255092
  Show dependency tree
 
Reported: 2011-05-30 20:37 EDT by Sergey Prigogin CLA
Modified: 2012-02-29 13:25 EST (History)
4 users (show)

See Also:


Attachments
Proposed fix (42.41 KB, patch)
2011-05-30 21:10 EDT, Sergey Prigogin CLA
eclipse.sprigogin: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Prigogin CLA 2011-05-30 20:37:11 EDT
Move ExtractLocalVariableRefactoring to the new framework that allows for use of shared AST and doesn't require dirty editors to be saved prior to refactoring.
Comment 1 Sergey Prigogin CLA 2011-05-30 21:10:09 EDT
Created attachment 196950 [details]
Proposed fix
Comment 2 Marc-André Laperle CLA 2011-05-31 00:47:04 EDT
*** Bug 339636 has been marked as a duplicate of this bug. ***
Comment 3 Marc-André Laperle CLA 2012-02-01 02:44:32 EST
Hi Sergey, I was starting to look at using shared AST in Extract Constant so I looked at this patch for reference. It looks like it needs to be updated because bug 347599 added a different API. Are you planning to update it soon or should I go ahead and update it? It would be great to have all the refactorings updated with the shared AST for Juno!
Comment 4 Sergey Prigogin CLA 2012-02-01 10:14:47 EST
(In reply to comment #3)
I plan to do it in a week or two, once I finish a face lift of Extract Function.
Comment 5 Sergey Prigogin CLA 2012-02-15 18:46:42 EST
Fixed in master. CDT now requires platform 3.8+.
Comment 6 CDT Genie CLA 2012-02-29 13:25:42 EST
*** cdt git genie on behalf of Sergey Prigogin ***

    Bug 347712 - Use shared AST in ExtractLocalVariableRefactoring.

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=3453fa6fcd43800486c8d8c95e429f49d4121459