Click here to Skip to main content
15,887,302 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
jschell10-Jan-23 7:37
jschell10-Jan-23 7:37 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
yacCarsten7-Jan-23 21:23
yacCarsten7-Jan-23 21:23 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
Jacquers7-Jan-23 23:12
Jacquers7-Jan-23 23:12 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
BillWoodruff8-Jan-23 2:10
professionalBillWoodruff8-Jan-23 2:10 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
jmaida8-Jan-23 13:29
jmaida8-Jan-23 13:29 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
PIEBALDconsult8-Jan-23 3:28
mvePIEBALDconsult8-Jan-23 3:28 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
Pete O'Hanlon8-Jan-23 4:07
mvePete O'Hanlon8-Jan-23 4:07 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
trønderen8-Jan-23 4:39
trønderen8-Jan-23 4:39 
I use Notepad++ for searching in a specific file - so I use Notepad++ for searching in all files.

It lets me select between case sensitive and insensitive search.
It lets me search for whole words only.
It lets me search for either plain strings, strings with control characters escaped by backslashes, or a regular expession.
It lets me filter files by name and/or extension, with a list of alternatives (such as "*.txt;*.log;*.cs")
It lets me select files in a single directory or also in subdirectories.
It lets me replace the found string with another text in all matching files.
It lets me navigate the directory tree graphically for selecting the directory (tree) to search.
It handles files in various encodings, including UTF-8 and different line ending conventions.
It lets me fetch two (or more) files with hits, and compare them (with plugin, but a standard one that should always be installed).

The hit list is very well organized: It shows a single line for each hit; you can open that file on that line by clicking it. You can temporarily hide all hits in one (or all) files. You can delete files of no interest from the hit list, while continuing to inspect the remaining ones.

It is quite fast.

But most of all: Using the same tool, with the same dialog fields, for searching a directory tree as the one you use for searching in the one text file you are editing means that there is no new tool to learn, no new command syntax or specification format. It is familiar and friendly.

This of course is if np++ already is your standard text file editor. If it is not, my question is "Why not?" Smile | :)
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
englebart8-Jan-23 5:04
professionalenglebart8-Jan-23 5:04 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
jmaida8-Jan-23 13:24
jmaida8-Jan-23 13:24 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
raddevus8-Jan-23 6:21
mvaraddevus8-Jan-23 6:21 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
BillWoodruff8-Jan-23 20:12
professionalBillWoodruff8-Jan-23 20:12 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
raddevus9-Jan-23 2:42
mvaraddevus9-Jan-23 2:42 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
Richard Deeming8-Jan-23 22:27
mveRichard Deeming8-Jan-23 22:27 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
raddevus9-Jan-23 2:44
mvaraddevus9-Jan-23 2:44 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
Jörgen Andersson8-Jan-23 21:06
professionalJörgen Andersson8-Jan-23 21:06 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
Jörgen Andersson8-Jan-23 21:13
professionalJörgen Andersson8-Jan-23 21:13 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
GuyThiebaut8-Jan-23 21:31
professionalGuyThiebaut8-Jan-23 21:31 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
rjmoses9-Jan-23 3:15
professionalrjmoses9-Jan-23 3:15 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
jmaida9-Jan-23 8:41
jmaida9-Jan-23 8:41 
AnswerRe: Use POSIX find and grep. Pin
Jeremy Falcon9-Jan-23 9:31
professionalJeremy Falcon9-Jan-23 9:31 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
Stuart Dootson10-Jan-23 5:40
professionalStuart Dootson10-Jan-23 5:40 
GeneralRe: Recursively Searching for "text" in files in windows 11 Pin
jschell10-Jan-23 7:40
jschell10-Jan-23 7:40 
GeneralSorry (Sari) joke of the day Pin
jmaida7-Jan-23 15:16
jmaida7-Jan-23 15:16 
PraiseI've overcome the datasheet, and the hardware from heck. finally Pin
honey the codewitch7-Jan-23 14:43
mvahoney the codewitch7-Jan-23 14:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.