Click here to Skip to main content
15,902,023 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: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
Richard Deeming9-May-24 20:56
mveRichard Deeming9-May-24 20:56 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
Richard Deeming9-May-24 21:00
mveRichard Deeming9-May-24 21:00 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
dandy729-May-24 6:32
dandy729-May-24 6:32 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
Brian C Hart9-May-24 7:30
professionalBrian C Hart9-May-24 7:30 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
Jörgen Andersson9-May-24 20:49
professionalJörgen Andersson9-May-24 20:49 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
dandy7210-May-24 3:17
dandy7210-May-24 3:17 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
jochance9-May-24 10:24
jochance9-May-24 10:24 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
Brian C Hart9-May-24 12:29
professionalBrian C Hart9-May-24 12:29 
I've been working on a tool that combines the following three operations:

1) Rename folders in a root folder's tree (according to certain rules)
2) Rename files in a root folder's tree (according to certain rules)
3) Replace text in files throughout the root folder's tree (according to certain rules).

The tool allows me to basically have a "Find and Replace of Solution Explorer". Say I added a whole bunch of class libraries called Foo.MyLibrary.Bar.IsAwsome, Foo.MyLibrary.Bar.IsAwsome.Constants, Foo.MyLibrary.Bar.IsAwsome.Extensions, Foo.MyLibrary.Bar.IsAwsome.Factories, Foo.MyLibrary.Bar.IsAwsome.Interfaces, and now I say, I want to change the names of the projects, the names of the folders in which they live, and update the .sln file and all namespaces and corresponding using statements, etc. so the code still builds, replacing MyLibrary with Aardvark everywhere, this tool will do that for me.

However, I had this one solution that had, like, 980+ projects in it, and for operation #3 you really have to somehow go through each and every file in a folder tree and do a find and replace, and instead of having to shell over to Notepad++ to do that, I wanted to integrate a file search and replace operation of similar performance into my tool so it can just take care of it as swiftly, or almost as swiftly, as Notepad++.
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
jochance9-May-24 14:19
jochance9-May-24 14:19 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
jschell9-May-24 15:50
jschell9-May-24 15:50 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
Roger Wright10-May-24 5:39
professionalRoger Wright10-May-24 5:39 
GeneralRe: New article: Fast Search and Replace in Large Number of Files: A Practical Guide Pin
englebart10-May-24 6:50
professionalenglebart10-May-24 6:50 
GeneralMillion qubits chip a possibility, could enable practical quantum computers Pin
BernardIE53178-May-24 16:02
BernardIE53178-May-24 16:02 
JokeRe: Million qubits chip a possibility, could enable practical quantum computers Pin
Jeremy Falcon8-May-24 19:18
professionalJeremy Falcon8-May-24 19:18 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
dandy729-May-24 6:33
dandy729-May-24 6:33 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
Jeremy Falcon9-May-24 6:45
professionalJeremy Falcon9-May-24 6:45 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
dandy729-May-24 6:57
dandy729-May-24 6:57 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
jschell9-May-24 15:53
jschell9-May-24 15:53 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
BernardIE53179-May-24 16:07
BernardIE53179-May-24 16:07 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
jschell11-May-24 9:33
jschell11-May-24 9:33 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
BernardIE531711-May-24 9:50
BernardIE531711-May-24 9:50 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
jschell14-May-24 12:55
jschell14-May-24 12:55 
GeneralRe: Million qubits chip a possibility, could enable practical quantum computers Pin
Bruce Patin10-May-24 3:34
Bruce Patin10-May-24 3:34 
GeneralWarp Factory Pin
BernardIE53178-May-24 15:40
BernardIE53178-May-24 15:40 
GeneralRe: Warp Factory Pin
Brian C Hart8-May-24 18:29
professionalBrian C Hart8-May-24 18:29 

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.