SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
546 stars 36 forks source link

Use cpp headers on local machine for intelliSense #168

Closed lukas-bernhard closed 5 years ago

lukas-bernhard commented 5 years ago

My goal is to get intelliSense support for the remote development of a C++ project. As has been explained in other issues, it is currently not possible to include headers from the remote folder in the c_cpp_properties.json.

However, would it be feasible to point intelliSense to header files on the local machine? That would get me at least basic support for the C++ STL and some dependencies.

So far, I have not managed to set this up successfully and I apologize if it is painfully obvious that this will not work. I'm afraid I don't have good understanding of the mechanics involved.

Thanks and best regards, Lukas

SchoofsKelvin commented 5 years ago

This would solely depend on whether the C++ IntelliSense extension supports this feature. You'll have to check with the developers of that extension.

Using VSCode Remote Development (especially using SSH) might be your best bet here.