It doesn't for me, so this might be a config issue?
When switching it only put the changes on the new branch instead of staching
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
That seems great, but I rather have a choice to also port my changes to the new branch ever time I do switch. Will use it if there's nothing else
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.
Oh right sorry. I did check it was the good VScode on lemmy.world, but not the programming.dev one -_-'
The worse part, you enter the blog, it looks legitimate enough at a glance, go straight to the code, then find out it's bullshit.
We need ai blog blockers now...
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
Easier solution: Don't use google
Inb4 normies force us to change well established terminology just to appease their fragile souls
Like git's main and master
Good meme, bad reasoning. Things like that are why JavaScript is hated. While it looks the same, It should never, and in ANY case be IMPLICITLY turned into another type.
It's simple. Like git, you search the command on the internet
Dang. I didn't knew that 🧡 was so popular. I thought it would be ♥️ but alright
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.
Use a match
? Unless it's for guard clauses, a match is fine enough
It's a lot less readable imo. As well than a cargo fmt
later and it's gone (unless there's a nightly setting for it)
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
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.
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
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
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/]
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 ?