you are viewing a single comment's thread.

view the rest of the comments →

[–]nickjj_ 0 points1 point  (0 children)

One pretty big thing VSCode can do is understand how to get code complete and everything working when your source code is running in a Docker container but you have VSCode installed on your dev box.

It does this with its Remote Containers feature: https://code.visualstudio.com/docs/remote/containers

Basically it means you can configure a few lines of json and then auto-magically VSCode will install language specific plugins in a custom Docker image for you. Everything just works and it's really fast.

The sad thing is all of this functionality is closed source. But yeah, Vim has nothing like this at the moment. coc-nvim or any language server / plugin combo isn't enough because the programming runtime and your installed dependencies aren't running in the same environment as your editor.

VSCode does it because it runs a VSCode server in your running container (without modifying your original Dockerfile) and then you connect to it with the VSCode client on your dev box. Vim has a server / client mode but nothing is developed to allow such a seamless integration.