Solved

Find current changes in code

Posted on 2014-07-29
3
151 Views
Last Modified: 2014-08-04
When the Visual Studio editor is open and displaying code, any recently changed lines get a highlight on the left side of yellow or green. Is there any way to search through the code of a module to find all locations with such highlights? The best I can come up with is to use the Undo command, but then, of course, I'm wiping out my prior work; I just want to see what I've done. (I'm using VS 2008 and VB, FWIW.)
0
Comment
Question by:ElrondCT
3 Comments
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 300 total points
Comment Utility
There is nothing built in Visual Studio other than the colored markers.

The only way to see the changes you've made is to make a copy of the code file before you start editing it, and then use a file comparator tool (I use Microsoft Word for that), to compare the 2 files and locate the changes.
0
 
LVL 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 200 total points
Comment Utility
If you were using source control (e.g. Team Foundation Server, possibly SourceSafe), then you would be able to see all of your changes since the last check-in. There is an Express edition of TFS available without cost for up to 5 developers.
0
 
LVL 20

Author Comment

by:ElrondCT
Comment Utility
James, Didn't realize Word had a compare feature (aside from Track Changes/Markup); I see that on the Review tab of the Ribbon now. I've got other tools of that sort which I think work better with text files. Any of them, of course, require saving the changes, but that's not a big deal. Thanks for the confirmation (that it's not available in VS) and alternative suggestion.

Kaufmed, I wasn't aware of the Express edition of TFS. I've been using VS 2008; obviously this would mean moving up to VS 2013, and I need to make sure that (and switching to Express from Professional) isn't going to mess me up. But it may be a good time to make the move.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now