vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

C++ Extension fails to start when viewing a file in a remote workspace over SFTP

Open dirthsj opened this issue 7 years ago • 3 comments

Type: General Input information below The Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.

Describe the bug

  • OS and Version: Microsoft Windows 10 Home Version 10.0.17763 Build 17763
  • VS Code Version: 1.28.1 (user setup)
  • C/C++ Extension Version: 0.19.0
  • Other extensions you installed (and if the issue persists after disabling them): Debugger for Java, Gitconfig Syntax, Java Extension Pack, Java Test Runner, Language Support for Java(TM) by Red Hat, Maven for Java, Remote VSCode, Remote Workspace
  • A clear and concise description of what the bug is.

While using Remote Workspace over SFTP with the following test.code-workspace (details obfuscated):

{
	"folders":[{
		"uri": "sftp://user:[email protected]/home/user/",
		"name": "My SFTP Folder"
	}]
}

I opened a .cpp file from an existing project. The extension informed me that it failed to start and was intellisense would be disabled.

To Reproduce

  1. Insteall C/C++ Extension and Remote Workspace version 0.35.1
  2. Create a .code-workspace file as detailed above, pointing to a fully updated Ubuntu 16.04.5 LTS server with the appropriate ssh privilages (non-administrator).
  3. Open any .cpp file from the file tree now displayed by VSCode.
  4. Observe the error message.

Expected behavior A clear and concise description of what you expected to happen.

The extension should not crash.

Screenshots If applicable, add screenshots to help explain your problem.

N/A

Additional context Add any other context about the problem here including log messages from the Output window.

Report to Remote Workspace

[Error - 3:57:11 PM] Starting client failed
Launching server using command c:\Users\user\.vscode\extensions\ms-vscode.cpptools-0.19.0\bin\Microsoft.VSCode.CPP.Extension.exe failed.

dirthsj avatar Oct 14 '18 21:10 dirthsj