I suggest you ...

Enable Local History

Other IDEs have local history tracking. It's really useful for when something is almost right, but not ready to commit. Then a couple changes are made to try and finish it up. Turns out those changes make it worse. Depending on how big those changes were and how many files you touched it can be a nightmare. Local history makes it easy to rewind. This is especially useful for css/javascript where a small change can have a large impact.

121 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Cole EasterdayCole Easterday shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    As we investigate this proposed model, we have a general question for you.

    1. We support Undo stacks in the tool.
    2. There is an extension “auto-history” that provides a level of automatic roll-back, based on heuristics/events to perform snapshots
    3. Local repo support.

    If we think of the above as a continuum from simple undo to a more explicit commit, we would like to hear feedback on how you’d prefer a model for local history support on this spectrum. E.g. is the preferred model to allow automatic snapshotting to a local repo?

    8 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Mark Wilson-ThomasMark Wilson-Thomas commented  ·   ·  Flag as inappropriate

        Thanks Mike and other commenters. I'm also interested to hear from folks about their alternate strategies to cope with the lack of local history in VS (assuming you're not already trying the extension). Some folks have mentioned use of a local git repo and frequent branching/committing as a means to solve the problem, for instance. Please do drop me a line at mwthomas at Microsoft dot com if you have feedback on this sort of strategy, on the usefulness of the extension or on the local history concept as a whole.

        Thanks!
        Mark

      • MikeMike commented  ·   ·  Flag as inappropriate

        I used this feature in Eclipse while writing an Android app and it really grew on me. Completely automatic and no more lost code. Was nice being able to do a diff to see what I had changed from 30 minutes or even a day ago. Giving this one 3 votes!

      • AlmazAlmaz commented  ·   ·  Flag as inappropriate

        IT's very important i usually put project for this aim in dropbox folder to have a chance to rewind to that point where i made smth wrong.. If it was in vs it would be wonderful.. There is a lot of moments when version control systems is useless and cant do nothing ((

      • Eric LewisEric Lewis commented  ·   ·  Flag as inappropriate

        I would LOVE to have this as I am working on a new file that is not yet in TFS and have no way of getting back to an earlier version. I can not check it into TFS yet because it will have issues with other things.

      • AnonymousAnonymous commented  ·   ·  Flag as inappropriate

        Local history feature is very important. as other editors such as eclipse, phpStorm etc support. Why not visual studio ?

      Feedback and Knowledge Base