Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
620hun81887yJetbrains have these great features that you only appreciate when you're fucked. Local history saved my ass many times when git couldn't.
-
Local History saves my day when i fuck my git up 😬😬😬
Fuckin intelliJ(ent). Chapeau 😍 -
th3113247yYou say that it saved you, but it's also the thing that caused the fuck up in the first place. Why is there a dialogue to delete all those files? And it defaults to yes?
-
mt3o19137y@Fydrenak deleting the file could have happened in any ide or even with just CLI. After all even rm command assumes that you know what you are doing. And if not, you develop behavioral pattern to press y and then enter as fast as you can without even thinking.
-
gnaaah9837y@mt3o The feature makes sense if you want to delete the whole resource like when you refactor.
A resource can have different config/variation based on language, screen size/density or device orientation.
Related Rants
IntelliJ IDEA just saved my ass!
I tried deleting a resource file I had staged, but not commited yet.
A dialog comes up asking to delete alternative configs with "Yes" as the default.
Boom! After I braindead hit the enter key all other files vanished too!
I checked Git and saw to my horror that the files were also not tracked anymore.
I hastly lookup the last backup timestamp - an hour ago - fuuuuu!
I just lost about an hour of work.
I was about to give up and start from scratch when I look at the edit menu in my IDE.
Turns out you can actually undo multiple file deletions!
Kudos to the girls and boys at JetBrains! You saved the day! 😙
rant
android studio
android
intellij idea
jetbrains