ajshort / vscode-ros

Visual Studio Code extension for Robot Operating System (ROS) development
https://marketplace.visualstudio.com/items?itemName=ajshort.ros
MIT License
59 stars 123 forks source link

Use vscode-ros from the host machine to access files in VM #17

Open nbro opened 6 years ago

nbro commented 6 years ago

I have sshfsed my home directory of an Ubuntu VM (where I installed ROS and created a workspace) in a directory of my host machine, so that I could access and edit the files from my host machine (which is a Mac OS X) using the editors and IDEs of my host machine.

I installed this extension for my version of VS Code on my host machine to do that. However, after having opened the mounted folder of my catkin workspace in VS Code and reloaded the editor, I get the following warning/error on the bottom-right of the editor

The ROS distro is not configured.

I am not sure if this extension was designed to support this work environment. Is there way to configure this extension for it to know that the ROS distro is installed in the VM?

ajshort commented 6 years ago

I'm afraid this setup currently isn't supported by the extension.