Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Refactoring suppoted in DLTK 1.0?
Akira Hayakawa
9/3/2008 3:14:00 AM
I downloaded ruby DLTK from HERE
http://download.eclipse.org/technology/dltk/downloads/drops/R1.0/S-1.0M1-200...
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 <ruby@i-mail.jp>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Refactoring suppoted in DLTK 1.0?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password