This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When doing a case insensitive search and replace, if the replacement text is all lowercase then it should be transformed to match the case of the text it replaces. For example, I search for 'username' and replace it with 'name' (case insensitive). The current behaviour is to replace everything with the provided replacement text verbatim, e.g. | print "Username: " | username = gets | puts "Hello #{username}" becomes | print "name: " | name = gets | puts "Hello #{name}" Ideally it should produce the following result: | print "Name: " | name = gets | puts "Hello #{name}" If I'm not mistaken the renaming refactoring tool suffers from the same problem.
This is rather an enhancement
*** This issue has been marked as a duplicate of 80732 ***