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?

  • Skydancer@pawb.social
    link
    fedilink
    Italiano
    arrow-up
    2
    ·
    15 hours ago

    Vim has its own plugin system that can provide all of the things on your list. Most people used to use a plugin manager like vim-plug or pathogen, but plugins can also be installed manually.

    With vim 8 there is built in plugin management. Just open the editor and type

    :help packages
    

    Plugins (including the plugin managers which are plugins themselves) get installed in your user’s home directory, so you can install them yourself without affecting other users or involving the sysadmins who are giving you pushback on installing other applications system-wide.

    • sacredfire@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      14 hours ago

      Interesting, I’ll probably still have to ask for permission to pull anything from the outside onto the vm, but hopefully will get less push back if it’s for a tool already installed and in use.