There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

AVeryCleverName , in I don't believe Auto Save feature in any software

Excuse me i think you mean ctrl+c:w

Adanisi , in I don't believe Auto Save feature in any software
@Adanisi@lemmy.zip avatar

C-x C-s

Tja ,

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.

warling , in I don't believe Auto Save feature in any software

Except the autosave in BBEdit. I trust that with my life. It’s never lost ANYTHING in 30 years.

0x0 , in I don't believe Auto Save feature in any software

Ctrl+s means “stop the presses” to VT100 terminal emulators and you have to press ctrl+q to resume. Key combinations from a different era.

Korne127 , in I don't believe Auto Save feature in any software
@Korne127@lemmy.world avatar

Using JetBrains product, I never explicitly save while programming 😅

dipshit , in I don't believe Auto Save feature in any software

:w!

sik0fewl ,

Esc Esc Esc :w!

dipshit ,

Most accurate

creation7758 ,

Caps caps caps :w! Is the way

wewbull ,

C-x C-s wtf!

const_void , in I don't believe Auto Save feature in any software

Ctrl-S? Are you writing code on Windows? 🤮

knexcar ,

First of all, it’s fine to write code on Windows. In fact, many companies have windows-only development workflows.

Second of all, many Linux programs also use standard shortcuts like Ctrl+S. Linux is more than Vim.

wewbull ,

Yeah! It’s also Emacs

Vlyn ,

There’s no Visual Studio for Linux, so yeah… especially as a .NET dev.

Visual Studio Code isn’t the same.

explodicle , in I don't believe Auto Save feature in any software

Ok here’s a question I should have asked like way sooner.

In Ubuntu (and similar distros), is there a hotkey to immediately kill the process? Like CTRL-C but harsher.

Vanshaj ,

I use a process manager like btop for this.

Black616Angel ,

My PC has a dedicated key to kill all processes.

kionite231 ,

sudo poweroff?

GentriFriedRice ,

CTRL-C – SIGINT CTRL-\ – SIGQUIT CTRL-Z + kill -9 %1 – SIGTSTP + SIGKILL

SorryQuick ,

If you’re using X11, you can use xkill: https://en.m.wikipedia.org/wiki/Xkill

You can bind it to a key in gnome/kde (not sure how they handle custom keybinds. Otherwise add a call to xbindkeys to your .bashrc or equivalent). It kills any window you want, responsive or not.

As for the terminal, I don’t think you can send SIGKILL, but ctrl + \ will result in a core dump if you’re using bash.

summerof69 , in I don't believe Auto Save feature in any software

I’ve never had to think about that with Intellij IDEA. It just works!

lud ,

I still click Ctrl S occasionally when using pycharm. It’s the law.

Lmaydev , in I don't believe Auto Save feature in any software

I just do a full rebuild. Saves all files.

Lmaydev , in 5/5 stars

As a side note, I love Winget. It took them long enough to add it but it id so handy.

Anti_Face_Weapon ,

Yes! Why did it take them so long?

allywilson ,

It was handy until I realised it installs to the user profile instead of system-wide. Reverted to chocolatey.

ornery_chemist , in I don't believe Auto Save feature in any software

<esc> <esc> <esc> <esc> <esc> <esc> :wa! <cr>

Stupidmanager ,

The old school programmer right here! All we’re missing is someone typing git commit -am “updates and stuff”

intensely_human ,

Basically a Jackie Chan fight scene, complete with somebody rolling a carriage at him and him kicking it back to pin them against the wall

darklamer , in I don't believe Auto Save feature in any software
@darklamer@lemmy.dbzer0.com avatar

Why would you ever use an editor that could lose your work unless you save? Vim users will never understand that.

Beanie ,

Actually vim has swap files which it saves to when you make any edit, whether you save the change or not, meaning you shouldn’t lose any work even if you kill -9 vim on unsaved work.

darklamer ,
@darklamer@lemmy.dbzer0.com avatar

Yes, exactly. Why would anyone ever use an editor that doesn’t work like that, where unsaved work could disappear? I can’t understand that.

Beanie ,

Oh I get you. No idea tbh.

cupcakezealot , in I don't believe Auto Save feature in any software
@cupcakezealot@lemmy.blahaj.zone avatar

i just store everything in google drive and let chance take over

darkghosthunter , in 5/5 stars

What’s dissapointing about Dev Home is that it offers nothing of value to the average developer, let alone somebody start it.

Given the power of containerization and WSL2, you would expect it could create development environments for a given app, like creating a firmware for a microcontroller using Rust, or a backend using Typescript, and even bring common tools or toolchains. Instead, we get some widgets and that’s it.

LemmysMum ,

It’s not a dev tool, it’s designed to force you to stay with the Windows environment by trying to regularise users to a proprietary intermediary management system.

allywilson ,

regularise users to a proprietary intermediary management system.

I don’t understand what this means.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines