Community
Participate
Working Groups
The File Search dialog tab (reached via, e.g., C-h>File Search) should support the Whole Word option. What I mean: My group is getting old source (many KLOC) running on a new base. Among the many tasks involved is replacing many Java type names, e.g. FacesConfig with FacesConfigTypeImpl. It would be nice to be able to do this via C-h>Java Search (for which I'll do a separate bug), but that does not support Replace. Instead I use C-h>File Search ... which does the job, except that, when I attempt to replace FacesConfig I also catch getFacesConfig setFacesConfigName FacesConfigHelper etc. For this usecase I want *only* to replace, e.g., FacesConfig with FacesConfigTypeImpl. This would be easy and not error-prone if File Search supported one of the Find/Replace (C-f) Options, "Whole word". File Search already supports the options "Case sensitive" and "Regular expression"; I don't believe "Wrap Search" makes sense for File Search (as it does for Find/Replace), and I'm not sure what the "Incremental" option does. But Whole Word is very much needed, for both File Search and Find/Replace!
note I'm using 3.0-M8
Regex supports Whole Word searches. Find/Replace had Whole Word option before Regex support was added. Today we would probably not add in Find/Replace as well.
Works for me with "\bgetFacesConfig\b" regex.
*** Bug 106285 has been marked as a duplicate of this bug. ***
*** Bug 253918 has been marked as a duplicate of this bug. ***