ros-devcontainer-vscode icon indicating copy to clipboard operation
ros-devcontainer-vscode copied to clipboard

not seeing the folders when docker is running from webide or vscode remote explorer

Open wegunterjr opened this issue 3 years ago • 4 comments

Activating extension 'CMake' failed: Cannot find module './cmakeReferenceProvider' Require stack: - /home/developer/plugins/vscode-cmake/extension/out/src/extension.js - /home/developer/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host-rpc.js - /home/developer/node_modules/@theia/plugin-ext/lib/hosted/node/plugin-host.js

wegunterjr avatar Oct 13 '20 22:10 wegunterjr

Can you explain bit more about the issue?

Any problem on the cmake? or the folders totally not visible?

yosuke avatar Oct 14 '20 11:10 yosuke

It might be more my misunderstanding on how this is supposed to work, because I did try and select a simulator, then ran docker-compose, and had access to the WEB IDe, a jupyter notebook, and the simulation was visible by browser. I was just imagining I would see a workspace in the webide or even the remote ide (vscode)

My main OS is Ubuntu 20.04.

wegunterjr avatar Oct 14 '20 15:10 wegunterjr

@yosuke That error above is displayed when I open the web ide localhost:3001. Pops up on the bottom right.

wegunterjr avatar Oct 14 '20 16:10 wegunterjr

If you want to mount your local folder as a workspace, edit docker-compose.yaml and change the following line:

https://github.com/devrt/ros-devcontainer-vscode/blob/master/docker-compose.yml#L36

to

 - .:/workspace:cached

Default setting is using docker volume to store workspace for performance issue.

yosuke avatar Oct 15 '20 00:10 yosuke