Coders, what is your workflow on Linux

Hello,

I installed Ubuntu a few months ago on my work laptop and I’ve been running and loving it since.

However, I am used to VsCode, so this is what I am using in Ubuntu as well.

So I am curious, what kind of coding so you do? And what is your workflow.

I am an embedded firware developper and mainly use C. I am cross compiling my code in VsCode for a FPGA from Xilinx (dual core arm + PL)

Never dove into make files and cmake more than what I needed in the past, but I had an opportunity to learn CMake and build a project from it.

So my workflow is :

  1. Code in VsCode
  2. Build in CMake
  3. Transfer the app through scp on the target with a custom script (target is running petalinux, which is yocto + Xilinx recipes)
  4. Use gdb server to debug the code.

It’s a pretty simple workflow, but I’d like to know what you guys are running so that I can maybe upgrade my workflow.

wintermute,

I code in C/C++. Work laptop is windows, but the products run on various Linux and Unix flavors, as well as in Windows. So I use Clion on win, that syncs the code changes to a Linux VM for building and testing. The toolchain is in a docker image, so I can change the build and test environments without affecting each other. Since I need to test on different OSs, I have multiple VMs in a server at the office.

garam,
@garam@lemmy.my.id avatar

Xfce spin Fedora using VS Code with CSharp dotnet omnisharp, sometime vim with coc nvim and omnisharp vim.

PHP intelephense, podman, kvm/qemu, some el clone or rhel cloud image, and windows server 2019 vhd to qcow2.

Other than that, firefox for frontend web debug… For desktop dev, avalonia UI. Other than that, none.

greywolf0x1,

I’m learning C# on my gnome Fedora and I can’t use IlSpy to decompile code on VSCode. How do you do this?

Also, my debug time takes so long, I think microshit intentionally makes it so on linux

garam, (edited )
@garam@lemmy.my.id avatar

I never use IlSpy, sorry

Have you look into their cli? github.com/icsharpcode/…/ICSharpCode.ILSpyCmd

Also there is AvaloniaUI ILSpy github.com/icsharpcode/AvaloniaILSpygithub.com/icsharpcode/ILSpy/discussions/2926

Also seems not all dll can be opened using ilspy github.com/icsharpcode/ILSpy/issues/2689

Debug times shouldn’t be long tbh hmm… How big is your project?-

greywolf0x1,

Thanks for the links. I’ll look into the cli, I couldn’t configure the Avalonia no matter how much I try.

I can’t even call it a project, i’m just doing basic readline, writeline and loops stuff.

garam,
@garam@lemmy.my.id avatar

You can try to download the exe, and run it, but you need to have dotnet 6.0.2 LTS SDK in your machine… It should work as it’s.

Anyway using CLI can dump the dll, I tried it yesterday to any csharp dll, it works, and create a project for it. I think with CLI, it’s enough to see the whole .dll csharp files included.

greywolf0x1,

Thanks, i’ll try out the cli.

z3rOR0ne,
@z3rOR0ne@lemmy.ml avatar

Bspwm/sxhkd on Artix Linux with runit init.

Neovim, lots of plugins and custom shortcuts and commands. Espanso text expander for even more functionality.

St terminal with zsh. Lots of aliases and shell scripts add lots more functionality.

JavaScript Developer with some docker integration.

learnbyexample,
@learnbyexample@programming.dev avatar

I use GVim for coding and text editing in general.

Programming wise, CLI tools (grep, sed, awk, sort, head, etc) are enough for most of my tasks. I’ve written a few Python TUI projects (uses Textual framework) but these are around 300-400 lines, so Vim is more than enough for my purposes. Don’t even need any plugins.

forgotmylastusername,
  • Sublime Text.
  • Whatever build toolchain of the current thing I’m using.
Ansis100,

Using VSCode with NeoVim plugin (allows Vim commands in VSC). Code JavaScript locally, deploy using GitHub and Docker/k8s.

andruid,

I do DevSecOps/SysAdmin type stuff mostly so vscode with devcontainers being pushed into gitlab-ci for checks and deployments (Ansible, terraform, k8s manifests, helm charts, docker files and occasionally back to my roots with sh and python scripts as needed).

Sometimes though I just toolbox my devcontainers and work client out of there and vim, when I’m just trying stuff out.

Cornelius,

Yakuake with oh my zsh some plugins and themes and vscode (trying to switch to lapce) in Rust with cargo on Fedora

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • [email protected]
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • oklahoma
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • SuperSentai
  • feritale
  • KamenRider
  • All magazines