Skip to content

Can not format via ssh: There is no formatter for 'cpp'-files installed #3787

@mohsenomidi

Description

@mohsenomidi

Hi,

C++ formatter on remote host

Describe the bug

  • OS and Version: Microsoft Windows 10 Enterprise (10.0.17763 N/A Build 17763)
  • VS Code Version: 1.35.1
  • C/C++ Extension Version: 023.1
  • Other extensions you installed (and if the issue persists after disabling them): "Kelvin Schoofs(SSH FS) version (1.16.2)
  • A clear and concise description of what the bug is:

I am using vscode for my C++ project, i installed the C++ extension (0.23.1) i works fine when i open the file from my local drive.

But i am using "Kelvin Schoofs(SSH FS) version (1.16.2) extension for my remote code on the Linux machine, after opening the C++ file from sshfs work-space, and trying to format my C++ document, it returns "There is no formatter for 'cpp'-files installed."

how can i fix this behavior for remote code "i mentioned again: formatting works properly for local files"

To Reproduce
Open the VSCODE and explore your files via the ssh (remote host)
install the "Kelvin Schoofs(SSH FS) and configure it to connect to the remote Linux host.
the open your files and try to format the document.

Expected behavior

Format the C++ Document.

Regards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions