includePath support for non-local paths `ssh://` in particular
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 32/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp, typescript
調査の方向性
code-workspace 内の SSH FS workspace と c_cpp_properties.json の ssh://repo/ エントリで失敗を再現します。まず、IntelliSense で includePath がどのように使用されるか、また FileSystemProvider によって提供されるパスがどのように処理されるかを追跡します。IntelliSense がリモートパスのファイルをローカルファイルと同じように解析できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Type: LanguageService
----- Input information below -----
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: Windows 7 Enterprise
- VS Code Version: 1.25.1
- C/C++ Extension Version: 0.17.6
- Other extensions you installed (and if the issue persists after disabling them): SSH FS 1.9.2
IntelliSense fails to parse files provided by extensions that implement FileSystemProvider. In my case: SSH-FS https://github.com/SchoofsKelvin/vscode-sshfs/issues/27
To Reproduce
- install vscode-cpptools
- install vscode-sshfs
- configure a remote directory in user settings
- configure c_cpp_properties.js includePath to use the ssh FileSystemProvider
Expected behavior
IntelliSense should work as it does for local files
User Settings:
"sshfs.configs": [
{
"name": "home",
"label": "jwieber",
"root": "/home/jwieber",
"host": "my.host.domain",
"port": 1234,
"username": "jwieber",
"agent": "C:\\cygwin64\\bin\\ssh-agent.exe",
"privateKeyPath": "C:\\Users\\jwieber\\.ssh\\id_rsa.ppk"
},
{
"name": "repo",
"root": "/path/to/my/repo",
"host": "my.host.domain",
"port": 1234,
"username": "jwieber",
"agent": "C:\\cygwin64\\bin\\ssh-agent.exe",
"privateKeyPath": "C:\\Users\\jwieber\\.ssh\\id_rsa.ppk"
}
]
code-workspace
{
"folders": [
{
"path": "./fdmdbsvc"
},
{
"uri": "ssh://home/",
"name": "SSH FS - home"
},
{
"uri": "ssh://repo/",
"name": "SSH FS - repo"
}
],
"settings": {
"files.associations": {
"*.ipp": "cpp"
}
}
}
c_cpp_properties.json
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}",
"ssh://repo/"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "C:\\cygwin64\\bin\\gcc.exe",
"intelliSenseMode": "clang-x64"
"cStandard": "c11",
"cppStandard": "c++17"
}
],
"version": 4
}
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 14時間 46分
- マージ済み PR(30日)
- 61
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/vscode-cpptools のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries オープンbug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 担当者 1 名 ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · コメント 1 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
microsoft/vscode-cpptools#14769 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/vscode-cpptools#14768 · コメント 1 件 ·
microsoft/vscode-cpptools の issue をすべて見る
似ている issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
-
code-quality refactoring
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
langchain-ai/deepagents#6450 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
vercel/react-tweet#225 ·