I just started a new job where I have to ssh into a remote linux vm to work on a qt driven c++ project. I don’t really have a lot of leeway on what can be added to the remote environment, and I don’t think local development is possible. The vm has vim and qtcreator.

I’m from a Java background and I’m learning c++ for this role, while I’m comfortable in vim, I’d really like to have a tool that can give me autocomplete, jump to definition and linting. I know these things can be set up in neovim, but I asked about having that put on the box and was not given a good reaction.

I also know tools like vscode and possibly clion can be set up to do remote work via ssh. Does anyone have experience with this and suggestion on a good setup?

  • Otter@lemmy.ca
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    2 days ago

    Depending on what restrictions you have, you could try VSCode? That’s what students were told to do at my university for remote C / C++ development off the school’s servers

    https://code.visualstudio.com/docs/remote/ssh

    I’m not familiar with the others, but for vscode

    • click the symbol that looks like >< in the bottom left
    • potentially install the remote SSH add-on if it asks for it
    • log in
    • open the left sidebar and tell it to open the folder you are developing in