Solved

Find current changes in code

Posted on 2014-07-29
3
162 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

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

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…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 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