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.

  • dawwwsh@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

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

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I usually hack stuff together with vim and tmux (I know, it’s redundant but Ctrl b is just a reflex at this point) when on a remote machine, but I use vscode at work and recently discovered the remote mode for Linux development… It’s pretty awesome, like not anything you can’t set up with vim or emacs, but it’s seamless remote development if you already like to use vscode

    • Croquette@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I would like to do remote dev directly on the target, but it only has64Mb qspi Flash and 512Mb of RAM, so I can’t install any modern development tools without exploding my 64Mb.

      I cross compile with arm-linux-gnueabihf-gcc so I at least don’t need to use the awful Xilinx IDE.

      Since we’re not sure yet if we will keep our current hardware for 1.0, but not tying my project to a vendor tools, I can easily switch my custom scripts for the new hardware.

      • mvirts@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        Hmm are you compiling code? Sounds like the kind of platform that shouldn’t host its own build tools. For that kind of setup I would consider building a remote dev box that can push to / debug the target platform? Maybe even control power to reset the dev board.

        • Croquette@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I cross compile then push the program through a scp and start gdb-server with a script.

          The remote dev box is a good idea because I can use any computer to access it and still be able to push code. I will look into it.

  • happyhippo@feddit.it
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Java dev, running opensuse Tumbleweed with KDE.

    IntelliJ IDEA, maven, git, postman

    Kate for quick edits and note taking works very well

    Konsole is my terminal of choice

    Teams for Linux because I have to

    docker on the command line because there’s no docker desktop for Linux. There is for windows and MacOS tho, although Linux is literally the thing where it runs on the kernel and whose concepts the whole thing is based upon. Fuck them.

    Kind of sad to see still lack (for Linux in general) of apps that are often used in companies. E.g. Teams and docker desktop

      • happyhippo@feddit.it
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I have now and I’m loving podman desktop! All I wanted was a quick and easy way to stop/start/delete running compose clusters, and podman desktop detected all my running docker compose containers and displayed them with the familiar tree-like UI with individual or global controls to play/stop or delete.

        Thanks! :)

      • happyhippo@feddit.it
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        If any of those can be used with docker, I’m sold!

        I cannot move to podman because our projects are shared and the rest of me team is on Windows or MacOs and they all use docker desktop. We also use docker compose files.

    • suspectum@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      Teams for Linux sucks and is not maintained anymore. Devs recommend using the web app and this is what I’m using in Chrome, works really well. Otherwise I’m also on Tumbleweed KDE :)

        • Croquette@sh.itjust.worksOP
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          If I’m not mistaken, this app is just a wrapper for the web app.

          I had a lot of issues with wayland and that app.

          • happyhippo@feddit.it
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Indeed this is the description I find on Discover:

            Unofficial Microsoft Teams client for Linux using Electron. It uses the Web App and wraps it as a standalone application using Electron.

            The advantage compared to teams.microsoft.com (at least when I load it in Firefox), is that it has many more features, since I guess it’s using an “Edge” user agent, which unlocks stuff that is not enabled for FF. For example, I can have 1:1 calls (yeah, I know…) and blur my background or even set a background pic, all things I can’t really do on FF.

            On the other hand, screen sharing works unreliably (at least in a Wayland session, X11 is fine). I’ve reported a bug to KDE since I assumed it’s a kwin issue, but I should test it with a gnome wayland live medium as well…

            https://bugs.kde.org/show_bug.cgi?id=472471

  • StefanT@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Transfer the app through scp […]

    I use an ad-hoc while loop in a shell with inotifywait to wait for changes in the watched directory and then scp it.

    • Croquette@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That’s clever. I’m not used to shell scripting yet, but I really like that it is easy to automate things in Linux. If you can run it in terminal, you can script it.