microsoft / microsoft/vscode-cpptools
Can not format via ssh: There is no formatter for 'cpp'-files installed
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 14時間 46分
- マージ済み PR(30日)
- 61
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リモート Linux ワークスペースで Kelvin Schoofs SSH FS extension を使用してフォーマットに失敗する問題を再現し、その後、VS Code でローカルの C++ ファイルをフォーマットした場合と比較します。C/C++ extension がリモートワークスペース用の formatter をどのように登録しているかを調査します。完了の条件は、リモート C++ ファイルに対して Format Document が、formatter がインストールされていないという報告を出さずに動作することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, vscode
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100