[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Proposed new functionality for LogWindow: Open files in Visual Studio

From: Friedrich Brunzema <brunzefb_at_yahoo.com>
Date: Fri, 10 May 2013 09:59:14 -0700 (PDT)

I am proposing creating some functionality to open local files belonging to one or more changesets in an already running instance of Visual Studio.

Rationale: I want to see all the files that were included in the sum of all changesets (the current version on disk, not any version from SVN), so that I can understand the changes better. For instance, Visual Studio lets me find out where a method I am calling is referenced, and navigate easily. It also has optional static code analysis addins (e.g. Resharper) that help me review code.

Details of the needs:
When doing a code review, I typically do an SVN Log, and filter on the Issue# (story, defect) that I am interested in. In the log window, I typically get one or more SVN revisions that match. Typically, I am interested in all maching revisions, so I can select them in the top list box. Tortoise now shows an aggregate view of all the files involved in all of the changesets. Note that some of the files listed may have been deleted/renamed etc. I only care about the ones that have corresponding working files on my disk. I now want to select all the files in the bottom listbox (Ctrl+A), right-click and have an additional "Open in Visual Studio" context menu. Clicking on it, would cause all the changed source/text files (but not binary ones) to be loaded in Visual Studio.

Feedback from Stefan Kueng: Stefan suggested re-using the Open-With command; unfortunately that is not available in that context menu when selecting multiple files - it is only available for single files. He also suggested implementing this in a way that is not Visual Studio specific. One way to solve this, would be to add an external command in the options, similar to how you can use your own diff tool).

StackOverflow has a some info for opening files/running macros in Visual Studio which is described here:
http://stackoverflow.com/questions/350323/open-a-file-in-visual-studio-at-a-specific-line-number

The proposed functionality would be useful for both the LogWindow and the Check For Modifications window.

Please let me know what you think before I start tinkering with this.

Best,
Friedrich Brunzema

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3055274

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-05-10 19:21:38 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.