Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Paste a list of files into your code or webpage
Author:
Gideon Isaac
Submitted:
3/9/2013
Version:
C# 2010
Compatibility:
C# 2005, C# 2008, C# 2010
Category:
Miscellaneous
Downloads:
1562
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.
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement