[wingide-users] Fwd: Doing "Find Uses" and Search and Replace all at once

Wingware Support support at wingware.com
Tue Feb 14 14:33:08 MST 2012


On 2/14/12 4:19 PM, Ken Kinder wrote:
> That's probably all you really need. Though I was actually recommending
> something like this (pseudo-code)
>
>> >  def find_uses_and_search():
>> >       app = wingapi.gApplication
>> >       uses = app.ExecuteCommand('find-points-of-use')
>> >       app.ExecuteCommand('batch-search', exclude=uses)

Yes, thought that's harder and at least for rename not as important 
since once you rename those uses will disappear from Search in Files.

I ended up writing up a couple of scripts long these lines and put them 
here:

http://wiki.wingware.com/FindOrRenameAndSearch

-- 

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com


More information about the wingide-users mailing list