Summary: | Java Search needs Replace! (and Whole Word) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tom Roche <tlroche> |
Component: | UI | Assignee: | Platform-Search-Inbox <platform-search-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Tom Roche
2004-05-11 17:37:50 EDT
Thomas: there's a request in J Core land to support Regex. This would solve the Whole Word feature request. Re: replace: not sure whether this makes sense: I would either use text replace or if in Java land have/use refactoring. The are a couple of things here: - Java search is always "whole word" since it only finds symbol names. - Refactoring is not really applicable, since the scenario they're describing (if I understand it right) is that they have a library X that depends on Type A. But in the new world, there is no type A. Instead there is a new type B, that has many of the same methods (like Plugin being replaced by Bundle in the eclipse world). The advantage a Java-aware search/replace is that we could identify type references in many cases (not sure whether that's possible in all cases). Anyway, I think the regex support in file search goes a long way. I'll take the liberty of changing the severity to "enhancement", since this is clearly a feature request. Feel free to change it back if you disagree. |