Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Refactoring suppoted in DLTK 1.0?

Reply
Thread Tools

Refactoring suppoted in DLTK 1.0?

 
 
Akira Hayakawa
Guest
Posts: n/a
 
      09-03-2008
I downloaded ruby DLTK from HERE
http://download.eclipse.org/technolo...-200808150915/
the bundle package.

see very simple test program below,

class ClassTest
def initialize(name_str)
@name_str = name_str
end

def name
return @name_str
end
end

a = ClassTest.new("Akira")
p a.name

Trying to change field name "name_str" to "name_string"
I put my cursor to @name_str in my ClassTest class
and choose "Refactor" in menubar and then choose "Rename"

However, as I did not expect, the error message

"Operation unavailable on the current selection ..." comes out.

What should I do to rename the field name?
rename refactoring is very useful feature.

--
Akira Hayakawa <(E-Mail Removed)>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DLTK support in new Eclipse (v. 3.3 - "Europa") Wes Gamble Ruby 0 07-17-2007 10:37 PM
[ANN] Eclipse != RDT: Eclipse DLTK Ruby 1.0M6 is out. Andrey Platov Ruby 0 04-01-2007 12:28 PM
Odd Multi-thread behavior when refactoring Christian Bongiorno Java 1 06-22-2004 07:46 AM
Survey on refactoring activities using IDEs Sebastian Jekutsch Java 5 06-09-2004 06:15 AM
come learn all about refactoring Refactorit Java 0 02-22-2004 06:36 PM



Advertisments