Solved

Find current changes in code

Posted on 2014-07-29
3
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

749 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