Project
IntelliJ IDEA
Priority
Critical
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Dmitry Jemerov
Subsystem
Editor. Editing Text
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Derek Foster
    6 years ago (18 Aug 2005 05:40)
  • Updated by   Evgeniy Schepotiev
    21 months ago (27 Apr 2010 16:26)
  • Jira: IDEADEV-2284
    (history, comments)
 
IDEA-29890 Automatic search and replace doesn't find things containing '$' character
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Suppose I have a file in the editor containing the following text:

final String foo = "$a";

and I invoke "Replace" (Ctrl-R), with the following settings:

Text to find: $a
Replace with: $b
(Note: Regular expressions are turned off, and case sensitivity is off.)

Idea does not find the text "$a" in the source file, even though it clearly exists. If I remove the dollar sign from the search string, Idea finds the "a" in the line, however.

This seems to make it impossible to search for (or perform automatic search-and-replace on) any search string that has a dollar sign ('$') in it.



Issue was resolved
Comments (1)
 
History
 
Linked Issues (?)
 
Dmitry Jemerov
  Dmitry Jemerov
18 Aug 2005 13:23
6 years ago
Note: this happens only when "Whole words only" option is checked.