37

Me : *wants to refactor a variable*

Visual Studio : Ok! Type the new name of the variable

Me : *backspace one time to remove a char*

VS : *erases ALL the name of the variable and ALL the usages of the variable, and no possibility to undo*

Me : ..... that was a dick move you know.

Comments
  • 3
    You CAN Ctrl + Z
  • 4
    @Mitiko i tried.

    Trust me. I tried.
  • 2
    Only one way to fix it: build and enjoy the errors thrown at ya 😓
  • 0
    And this is why Resharper is a worthy investment...
  • 0
    @xorith and so that’s why it was installed already on my computer when I arrived 🤔
  • 1
    No local history like in jetbrain products?
  • 0
    @musician there is

    But somehow, I mashed CTRL + Z and the contextual menu Undo, none worked. Else there wouldn’t be a rant
  • 0
    @DodgerAkame

    If you're using Resharper, make sure you use the Resharper refactor functions. I work quite a bit in old shitty legacy code and I'm constantly refactoring and have never had an issue as described. I've never used the VS built-in for it either, though.
  • 0
    @xorith yeah, somehow it magically switched from VS’s refactor to Resharper’s during the day

    🤷‍♀️🤷‍♀️🤷‍♀️
Add Comment