Matthew ".NET 247" Reynolds

Matthew Reynolds... software development consultant, author, speaker and trainer

Browse and search source code trees with IE - SourceBrowse

The first version of my freebie Web-based source tree viewer is available on GDN: http://workspaces.gotdotnet.com/two47sourcebrowse


SourceBrowse is designed to give a Web front-end to a source code tree. A typical user will have a build server that periodically pulls source code from source control and puts it onto the disk. This version of the software is not designed to integrate with source control, like Visual SourceSafe or SourceGear Vault.

SourceBrowse allows you to browse a source tree, view and download files and perform a simple 'find-in-files' search of text files within the source tree.

Browsing:


Viewing:


Searching:
 

Comments

Scott said:

Really cool stuff Matt!

I am going to post the .Text source with it in the next day or so.

I am going to grab the source as well from GDN, but two items I would like to see:

1. SQL viewer. The .Text source tree now contains the stored proc's. Would be great to view them (color coded as well. I have a tool that also color codes sql. If you want a list of key words, let me know)

2. A configuration setting to skip certain folders/filenames (ie, bin directories)

3. Option to download current file

-Scott
# January 20, 2004 9:48 AM

James Curran said:

Can I offer a suggestion?

Right now you allow only one root folder per application instance. To have several trees, one needs completely separate applications, each with a full identical set of SourceBrowser code plus a distinct web.config. This seems a bit wasteful.

How 'bout for it read different keys from the appSetting based on the URL used, so, for example, http://localhost/mysource would read
<add key="mysource-RootFolderPath" value="c:\MySource\" />
while http://localhost/yoursource would read
<add key="yoursource-RootFolderPath" value="c:\YourSource\" />

This way multiple tree can be handle just by creating a new VDIR (pointing to the same application directory), and a single line added to the web.config.

# January 20, 2004 12:33 PM

TrackBack said:

# February 7, 2004 1:04 PM

http://www.popularjewels.com said:

You unquestionably put a new spin on a topic thats been written about for years. Excellent stuff, just great!

# May 12, 2013 11:51 PM

http://michaelkorshandbagscc.com said:

I bookmarked it to my bookmark webpage list and might be checking back soon.

# May 13, 2013 1:03 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)