Bug 10661 - "extract local variable" doesn't work on String literals
Summary: "extract local variable" doesn't work on String literals
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Adam Kiezun CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-04 03:37 EST by Ilja Preuss CLA
Modified: 2002-03-14 13:40 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilja Preuss CLA 2002-03-04 03:37:34 EST
using "extract local variable" on String literals results in the error message

"The following problem prevents performing the operation. An expression must be 
selected to activate this refactoring."
Comment 1 Adam Kiezun CLA 2002-03-04 05:15:12 EST
the error says now: 
"Currently no support to extract a single string literal."

this limitation might be removed for 2.0 - after converting to the new AST API
leaving open till then
Comment 2 Adam Kiezun CLA 2002-03-14 13:40:27 EST
fixed