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.

  • slembcke
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year 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
      arrow-up
      6
      ·
      1 year ago

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

      • slembcke
        link
        fedilink
        arrow-up
        2
        ·
        1 year 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.