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.

Bug 87847 - Add option to search within text strings
Summary: Add option to search within text strings
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2006-10-24 13:03 UTC by nikomatsakis
Modified: 2014-02-21 14:13 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description nikomatsakis 2006-10-24 13:03:51 UTC
It often happens that I want to find where in the code a particular message is coming from; as a result, 
what I want to do is search within the text strings in the program.  Unfortunately, text strings can be 
arbitrarily wrapped on different lines and the like, so this is difficult.  As a recent example, I wanted to 
find where an exception was coming from that had the text "The type of the variable initializer" in it.  I 
couldn't find it.

Eventually, I found that it came from a liine which looked like:

   String s = "The type of the variable "+

It would be nice to have a search that detected string constants broken apart like this.
Comment 1 Marian Petras 2007-08-10 14:00:51 UTC
That is a reasonable request. However, I cannot promise when and whether at all it will be implemented.
Comment 2 Jaroslav Havlin 2014-02-21 14:12:32 UTC
This feature would be probably more useful in Find in Projects. Reassigning back to Utilities/Search. However, thank you very much for checking of the issues.