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.

  • @[email protected]
    link
    fedilink
    32 years ago

    I tend to prefer Jetbrains editors (CLion, Rider, WebStorm) for projects, and just nano/micro for config editing and such…

  • I use NixOS btw
    link
    fedilink
    52 years ago

    I use helix on NixOS. I have the most basic setup for c(++):

    • edit with helix
    • write custom makefiles with a script I made
    • test the program with the makefile
    • debug with cout or printf
  • @[email protected]
    link
    fedilink
    5
    edit-2
    2 years ago

    C and Lisp:

    st -terminal

    tmux -workspaces

    vim -editor

    vim-fugitive -git UI

    make -did not require more power yet.

    everything vanilla except some custom lines to have vim and tmux share the same pane/window navigation keys.

    • @[email protected]
      link
      fedilink
      12 years ago

      I really want to get more into neovim, being able to host the backend service and just point to it from other servers seems super useful for me!

  • @[email protected]
    link
    fedilink
    22 years ago

    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.

  • z3rOR0ne
    link
    fedilink
    12 years ago

    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.

  • z3bra
    link
    fedilink
    32 years ago

    I use vis to write code, ^Z and make/mk to build the project. Most of the debugging is done with valgrind and eventually gdb though my use is very limited.

    When I work on manpages, I use wendy to automatically preview manpages everytime the source file changes.

  • @[email protected]
    link
    fedilink
    32 years ago

    I do game dev, and I’ve been loving VSCode. I used to use a mishmash of stuff, but VSCode can do kinda everything. Working on retro-dev C/asm for NES or Genesis? Lua projects? Shaders? Debugging a native Linux/SDL game? Doing some math in a Julia notebook? Unity3D development? Working on Windows/Mac? The answer is VSCode to all! I still use vim for some light stuff or working on remote machines, but meh… VSCode has nice defaults for me without having to fiddle.

    For my native Linux gamedev, I’ve just been using the MS Cmake and Cpp-tools extensions. They work great, and you can script up the rest with actions. The debugger isn’t great, but it’s convenient and good enough for simple crashes. I switch to GDB when things get interesting though. I suppose I have an extension for shaders too, but it’s just syntax highlighting.

    • a Kendrick fan
      link
      fedilink
      62 years ago

      You should look into VSCodium, it’s the same without microshit’s telemetry.

      • @[email protected]
        link
        fedilink
        22 years ago

        I have, but it doesn’t show the MS extensions like the C or CMake tools which is kind of a dealbreaker. None of the alternatives really work well enough in my experience. I’m fine with opting out of the telemetry.

  • @[email protected]
    link
    fedilink
    12 years ago

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

  • @[email protected]
    link
    fedilink
    42 years ago

    i3wm/sway - lets me navigate windows with vim-like keyboard motions Neovim - best power editor, hands down. But it takes a bit of tweaking. Tmux - lets me have multiple terminals up in one window. Make/CMake/whatever the project uses. I also write scripts for anything that causes friction which can be automated. Vimium/VimiumFF in the browser - lets me navigate most webpages with just the keyboard.

  • SALT
    link
    fedilink
    English
    22 years ago

    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.

  • ForbiddenRoot
    link
    fedilink
    52 years ago

    Rust and C development mainly with a bit of assembly language sometimes:

    • Debian Stable with Xfce
    • distrobox with podman for containers
    • xfce4-terminal with tmux
    • vim with plugins (coc.nvim, delimitMate, NERDTree etc)
    • SALT
      link
      fedilink
      English
      32 years ago

      when you start xfce, it start with tmux?

      • ForbiddenRoot
        link
        fedilink
        English
        42 years ago

        when you start xfce, it start with tmux?

        No. I use tmux only inside the distrobox / podman dev container (which is also Debian 12 Stable). I like a more conventional DE for non-dev related usage of the computer. If I wanted a totally tmux-like or terminal-based environment I would go with i3, but that is not something I prefer for my desktop usage for non-coding activities.

  • Matúš Maštena
    link
    fedilink
    32 years ago

    I use IntelliJ IDEA for V and Rust, Neovim for C and VSCodium for Ansible + web development.