Skip Navigation
Automatically ask for stashing changes when switching branches

Is there an extension that allows for automatic stashing on branch switch like GitHub desktop does?

There was an a proposal about it, but it got declined: https://github.com/microsoft/vscode/issues/86668

3
Stash changes on branch switching
  • Honestly the only reason I'm using the GUI for switching branches is that I don't want to clutter my terminal with git commands.

    Despite it doesn't help me at all. I don't want a separate app. Even more if it's $60 for a wrapper around the cli. I rather learn the cli so I can use it everywhere. And finally... No Linux port.

  • Stash changes on branch switching

    Is there an extension that allows for automatic stashing on branch switch like GitHub desktop does?

    There was an a proposal about it, but it got declined: https://github.com/microsoft/vscode/issues/86668

    7
    got him
  • Oh, then you use and_then() or something similar.

    There's also the possibility to use the guard clauses patern and do let <...> = <...> else {}.

    And finally, you can always split into another function.

    It's not straight rules. It depends on what makes it more readable for your case.

  • got him
  • Those async blocks exist when doing async in traits.

    And I never said I respected the 4 level of indentations. That's exactly the point of those rules. Keep it lowly indented but still readable

  • got him
  • While I totally agree with that philosophy, it heavily depends on the language.

    For Rust, my philosophy is more like this:

    • Impl + fn body don't count, as well as async blocks if they span the whole function
    • do not nest more than one if statement. You probably better using guard clauses or matches
    • do not put loops into an if statement.
    • do not nest loops unless clearly shown to be (X, Y) indexing
    • method chaining is free
    • do not nest closures, unless the nested closure doesn't have a {} block
    • do not use mod unless it's test for the current module. No I don't want to Star Wars scroll your 1000 line file. Split it.
  • someone tell them
  • I'd even add that now 99% of the distro have a gui over the package manager. Have an android or iPhone? You already have experience in installing stuff in an easier way than windows

  • Audio effects for Windows (Like Easy Effects)

    I am looking for an alternative to Easy Effects for windows. It works really well on my Linux machine, but I want something for my work machine that runs windows.

    Any suggestions? I don't need all the filters, but at least something to correct the awful bass

    8
    Tumbler is looking suspiciously like Aperture's chat room
    lemmy.ml Artificial prey animals - Lemmy

    Reddit thread I got this from: https://old.reddit.com/r/CuratedTumblr/comments/1bomeku/artificial_prey_animals/ [https://old.reddit.com/r/CuratedTumblr/comments/1bomeku/artificial_prey_animals/]

    Artificial prey animals - Lemmy
    0
    Switching from Linux Mint to Nobara on a secure boot and dual booted laptop

    I got a Zephyrus Duo laptop with Windows 10 and Linux mint dual booted. I've recently heard about Nobara, and I'd want to distro hop to it as it has all my daily apps, more recent drivers, and good Nvidia support. It would replace my linux mint partition.

    Thing is, my laptop came in with windows bitlocker, and secure boot. The former isn't really an issue as both OS would be on different drives. But the latter prevents me to boot Nobara as it's a unsigned distro.

    I'm wondering about whether I should sacrifice secure boot for Nobara, and if I should, how to deal with windows being bitlocked.

    I don't really use windows anymore but I do still need it, so no, I won't uninstall it.

    Any help and tips ?

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RU
    RustyNova @lemmy.world
    Posts 6
    Comments 204