Solved

Find current changes in code

Posted on 2014-07-29
3
155 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
ID: 40227363
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 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 200 total points
ID: 40227522
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
ID: 40227773
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

21 Experts available now in Live!

Get 1:1 Help Now