From: Fabio Z. <fa...@gm...> - 2006-05-22 23:44:50
|
On 5/22/06, Don Taylor <nos...@gm...> wrote: > > Fabio Zadrozny wrote: > > > - Mark Occurrences is able to highlight all the occurrences of some > > token in a file (and is python-aware) > > - Rename Occurrences is able to rename all the occurrences of some toke= n > > in a file (Ctrl+2+R) > > Fabio: > > I can't get Mark Occurrences to work on its own, how do you invoke it? Hi Don, Have you marked it in the preferences ( http://fabioz.com/pydev/manual_adv_markoccurrences.html) -- I still plan to do something to turn it on/off in an easier and more interactive way -- probably ctrl+shift+*, but I couldn't get time to do it for this release... However, Rename Occurrences looks great (is the start of a refactoring > browser?) and hitting ESC cancels it so it effectively it can be used > instead of Mark Occurrences. Nice to hear! As for the refactoring, I guess that this currently works more on the code-analysis side, as checking for occurrences was something I did already (just had to do some interface to externalize that information). Now, on th= e other hand, refactoring seems something pretty nice for me, and I hope I'm able to implement it in pydev (just don't have hard-dates for it) -- and I've already did play a little with it's API (which I actually use a bit fo= r the mark occurrences stuff -- but not that much). But, if you count that getting the occurrences is a requisite for refactoring, then you could say that it has just started ;-) Cheers, Fabio |