Find Usages dialoge can be cancelled - Idea 5.1 Build 4155

Hi,
Just found a pretty annoying issue was hoping maybe someone else knew about. I have an inner call in one of my source files. Wanted to see where it was referenced in my project. Right click on the class definition and choose "find usages". Dialoge opens and "Usages" and "Search for text occurrences" are checked. Click Find. Well, didn't expect it would spend time going through all my libraries - in fact, it started by going through the jdk class files. Obviously this will take forever and I figured I must have missed an option (ie. project files only, not libraries). So, clicked Cancel button. Guess what - it has no affect. The Cancel button grays out but the search continues. Tried clicking the close button (ie. X) to close the dialoge - nope, no go. Now I have to wait for a couple of minutes for this process to scan through the whole freakin' JDK before it even gets to my stuff. So, if this is the behavior, "find usages" becomes pretty worthless - I obviously don't want to be looking in 3rd party libraries for usages of a class I wrote. Is this a known bug? Is there somewhere I can configure this NOT to look at libraries in my project path - just my source? Thanks in advance for any info. I'm attempting to do some major refactoring on existing code - this feature is critical for me. Without it I need a new tool.
Scott

2 comments

Guess I can't edit a post once it's been posted - sorry for the typo

0

Original subject should have read "can't be cancelled". Tried to convey that in first response but the subject ended up reading what this board apparently wanted it to read. Seems if you reply to a post and alter the default Subject, then preview and go back to edit, your subject has been changed back to "Re: xxx".
Thanks,
Scott

0

Please sign in to leave a comment.