• Tja@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      I hate editors that cut the current line if you do C-x with nothing selected. Always do C-x C-s, even in VSCode and KDevelop.

  • McArthur@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    9 months ago

    I was never really aware I did this until I had to program something with hot reloading (I don’t remember what) and it was so insufferable…

    And now my pain is with rustfmt. Just because I saved before filling in the struct fields does not mean I want you to format the struct accordingly!!!

  • fu@libranet.de
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    you CTRL+C CTRL+C CTRL+C CTRL+C CTRL+C

    I CTRL+X CTRL+V we are not the same.

  • M500@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 months ago

    I’m the same way. I think it’s just a matter of being conditioned to manually save for the majority of my computing life.

    • Vlyn@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 months ago

      Ctrl + C literally doesn’t work at times, it drives me crazy. It might be due to some shitty applications and websites overriding it or adding complexity (Like copying not only the text but additional information).

      I’m often 100% sure I copied the text, change the window and an old clipboard entry gets pasted.

      • BlanketsWithSmallpox@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 months ago

        God I hate this so much. It’s especially frustrating on mobile where it takes like thirty seconds to try to get the right part of the text copied and use the fucking magnified blue dots… Ugh.

        • Vlyn@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          9 months ago

          Mobile is an entirely different beast. Like sometimes my keyboard doesn’t show up. Or the text select refuses to work. And so on. It’s a mess. Even on a Galaxy S22.

          No clue how people can exist without a proper computer at home and still do stuff online.

    • WhatAmLemmy@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      It’d be great if there were side kind of feedback, like the cursor quickly flashing a “C” or something… anything to let you know the operation occurred; better yet, was successful.

      • kbotc@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 months ago

        I actually disagree from a systems engineer perspective: The program doesn’t actually know shit if those bits hit any permanent medium, just that the OS told them “I’ll take care of it” it could be sitting in a write back cache when you save, see the “write complete” and rip the power and that’s all gone now. Basically, I don’t like promising durability when it’s not really there.

  • QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    We can optimize this further:

    unsatisfied = true
    while(unsatisfied) {
        key.dispatch(
            Keyboard::Ctrl,
            Keyboard::s
        )
    }
    

    …No, there is no instance where unsatisfied changes state

  • devfuuu@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    9 months ago

    Intellij being a good guy amd autosaving every few seconds. No more worrying about crtl+s.