You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
packagetest62classGBean {
String fooBar
String bar
}
and this:
packagetest62classTest62 {
voiddoSomething() {
def g =newGBean()
g.with {
fooBar ='foo'
bar ='bar'
}
}
}
Now go to GBean, highlight GBean.fooBar, hit Alt+Shift+R and rename fooBar to foo: the reference in Test62.doSomething() is not renamed.
The strange thing is that if you do the opposite (source is foo, rename to fooBar), it works correctly.
Another strange behaviour (but I think it's for the same reason): if you issue Alt+Shift+R from Test62 instead of GBean and you try to rename fooBar to foo, after the operation is finished the editor replaces foo with fooBar.
The text was updated successfully, but these errors were encountered:
Tested with Greclipse 3.8.0.v202004230438-e1912: even if I rebuilt the index, it didn't work at first unless Test62 applied @CompileStatic. After several attempts and a "Search for references", it seems now to work reliably, even if Test62 does not apply @CompileStatic.
Consider this:
and this:
Now go to
GBean
, highlightGBean.fooBar
, hit Alt+Shift+R and renamefooBar
tofoo
: the reference inTest62.doSomething()
is not renamed.The strange thing is that if you do the opposite (source is
foo
, rename tofooBar
), it works correctly.Another strange behaviour (but I think it's for the same reason): if you issue Alt+Shift+R from
Test62
instead ofGBean
and you try to renamefooBar
tofoo
, after the operation is finished the editor replacesfoo
withfooBar
.The text was updated successfully, but these errors were encountered: