Any of the Words
Link to us
Paste a list of files into your code or webpage
C# 2005, C# 2008, C# 2010
I've found this utility surprisingly useful when programming. You choose a folder, and a file extension (for instance "*.aspx") and you get a list of all files with that extension in that folder (subfolders are not included). This list can be pasted in your code, or in your webpage. Each file appears with a prefix (such as xxx) as a suffix (such as yyy). This means that when you paste it, you can substitute your desired prefix and suffix with a simple search/replace. For instance, if you have list of image files, you might to prefix each with [img src=" ] (if you want to show the images in a webpage). You can repeat the file name twice, which is helpful in some coding situations. There is a COPY button to copy the list to the clipboard (so you can paste it) and there is a "Fragments" button which allows you to get one fragment pre file which a start and end that you specify. For instance, if you want to look at all the "Page_Load" routines in your project, you could specify a "start fragment" of "Sub Page_Load" and an "end fragment" of "End Sub", and you will be presented with a file that has all the Page_Load routines of your project.
© 2022 A1VBCode. All rights reserved.