microsoft / microsoft/vscode-cpptools-api
`WorkspaceBrowseConfiguration` should support multiple sets of compiler path/args
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 33
- フォーク
- 20
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
If I understand correctly, it’s not uncommon for CMake projects to consist of several subprojects that could use different relevant args or hypothetically even different compilers (i.e. target binaries vs. tools built for the host system to be used by the build).
There is also the need for C vs. C++ information, as compiler queries for either may result in different system include paths.
Processing N sets of compiler paths/args here would be similar to what cpptools does with compile_commands.json files - processes all provided compiler paths and (unique and relevant combinations of) args, to build the browse path(s). Cpptools should be able to avoid redundantly querying compilers, so it should not be critical that the configuration provider de-dupe this set.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず WorkspaceBrowseConfiguration API を読み、issue に記載されているとおり、cpptools が compile_commands.json をどのように処理するかを確認します。C と C++ の個別のクエリを含む、複数のコンパイラーパス/引数セットのサポートを定義して文書化します。API が冗長なコンパイラークエリを必要とせずにサブプロジェクト用のこれらのセットを表現できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cmake, cpp, typescript
- 領域
- api, devtools
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100