Skip to content

THIS THING DELETED 3 MONTHS OF WORK!!!!  #32405

Closed

Description

I had just downloaded vscode as an alternative and I was just playing with the source control option, seeing how it wanted to stage FIVE THOUSAND FILES I clicked discard... AND IT DELETED ALL MY FILES, ALL OF THEM, PERMANENTLY!

HOW THE FUCK IS THIS SHIT POSSIBLE, WHO THE HELL IS THE DUMBFUCK WHO MADE THE OPTION TO PERMANENTLY DELETE ALL THE FILES ON A PROJECT BY ACCIDENT EVEN POSSIBLE?? CANNOT EVEN FIND THEM IN THE RECYCLE BIN!!!! I DIDN'T EVEN THOUGHT THAT WAS POSSIBLE ON WINDOWS!!!

FUCK THIS FUCKING EDITOR AND FUCK WHOEVER IMPLEMENTED THIS OPTION. I WISH YOU THE WORST.

I'M PERMANENTLY STAYING AWAY FROM EVERY WINDOWS DEVELOPMENT SOFTWARE FROM NOW ON AND TO THE GENIUS WHO IMPLEMENTED THIS:
FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU FUCK YOU

  • VSCode Version: Code 1.15.0 (8b95971, 2017-08-09T20:16:06.988Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author (truncated) Version
html-snippets abu 0.1.0
vscode-twig-pack baj 1.0.0
jshint dba 0.10.15
python don 0.7.0
pgsql dou 0.0.8
EditorConfig Edi 0.9.4
beautify Hoo 1.1.1
format-indent Kas 1.3.0
prettify-json moh 0.0.3
lorem-ipsum Tyr 1.0.0
html-css-class-completion Zig 1.8.0

Steps to Reproduce:

  1. Go near this fucking shit editor.
  2. Commit the deadly sin of touching the source control options.

Reproduces without extensions: Yes/No

Activity

  1. jens1o commented on Aug 13, 2017

    @jens1o
    Contributor

    Tiny question: Are you interested in solving your problem? I didn't had experienced this after using this for over a year now...

    I clicked discard...

    But this looks like a valid operation, so, you need to watch out before you press buttons. Maybe you can pull latest changes from your SVN?

  2. remcoros commented on Aug 13, 2017

    @remcoros

    Even since I lost a big school project around 15 years ago I use source control, always, everywhere. Even my game saves are source controlled. On top of that, My main drives are externally backed up every day.

    Why you have three months of work not under source control is the bigger question.

  3. EbXpJ6bp commented on Aug 13, 2017

    @EbXpJ6bp
    Contributor

    In git client, "Discard All Changes" usually means git checkout. It's in the specifications in git.

  4. ghost closed this as completedon Aug 13, 2017
  5. joaomoreno commented on Aug 14, 2017

    @joaomoreno
    Contributor

    @eliecerthoms We're sorry you've hit this. We really are.

    But let me address some of your feedback first:

    It didn't say CAUTION: THIS WILL DELETE EVERY FILE FROM THIS FOLDER IN YOUR COMPUTER. It said: are sure to discard all the changes? which isn't similar to what it does by any means.

    Actually this is what you've seen:

    img

    It seems that we weren't that way off.


    Now let me ask you something else: what would you think would happen if you used any other application which integrates Git? Let me try to guess. You'd probably initialize a repository as well, just because why not? It's not like you're messing with code which doesn't have backups right? You'd probably see all those changes appear and try to find a way to make them disappear, just like what happened here. You'd also probably avoid attempting to understand a bit more about what you're messing with, similarly to this situation. As you finally find that magic action which will solve all your problems, the application would still delete your files, no matter how many confirmation dialogs it would pop up attempting to tell you this is dangerous.

    This happened with Code. It could have happened with Atom, Git Tortoise, Git Kraken. These are all powerful tools and with more power comes more responsibility. When you sell hammers you'll likely have people using them to hit their own heads, which, understandably, they will put the hammer at fault. Now, we already put a big don't hit this on your own head label on our hammer. Should we actually prohibit people from head hitting with our hammers? Probably not, since some users still want to hit heads with it. It's just how hammers work.


    Now, #32459 was started by Martin Thierer (@thierer) with an attempt to prevent situations like this. Let's make that happen.

  6. lukemartin commented on Aug 16, 2017

    @lukemartin

    🤣

  7. voronoipotato commented on Aug 16, 2017

    @voronoipotato

    I'd say remove the warning dialog, and prompt an "Undo" that lasts 5 seconds. Behind the scenes count to 5 and then do it. People respond much better to "Undo" than they do to "Are you sure?" dialog. Hide the files so that way they know what they did and the consequences that are about to happen.

  8. linaori commented on Aug 17, 2017

    @linaori

    Isn't there a local history to get everything back? Using PHP and PhpStorm as my IDE, I can simply undo this action as it's in my local history.

  9. helloworlddan commented on Aug 17, 2017

    @helloworlddan

    this is hilarious

  10. locked and limited conversation to collaborators on Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions