DEV Community

Discussion on: Docker For Frontend Developers

Collapse
 
vschoener profile image
Vincent Schoener

Still the same article without a proper solution to work with IDE feature as autocomplete.

node_modules is installed in the container and you also need to install it locally and try to not mess with it when you mount your source if you want to have the best of the 2 worlds. (Currently working on it and writing an article describing the need and the issue all developer met).

Otherwise, nice article :)

Collapse
 
akanksha_9560 profile image
Aks

In order to solve this problem, just develop locally on your container no?

Collapse
 
vschoener profile image
Vincent Schoener

That's not possible, how can I use an IDE that way and be productive? Using Vim or other text editor is not the solution at all :)

Collapse
 
cookrdan profile image
Dan

If I understand you right, VS Code just implemented an extension so you can use vs code in the container environment. It needs the insiders build. They just announced this yesterday.

Collapse
 
akosyakov profile image
Anton Kosyakov

You should check out Gitpod. It builds your image together with the project within it, deploys it in the cloud and provides VS Code like browser IDE with autocomplete and so on. Also VS Code releases remote extensions which are deployed in containers. Although i'm not sure how they get files from host to container os, if they mount them then you will get the same issues.