`WorkspaceBrowseConfiguration` should support multiple sets of compiler path/args

オープン
#56 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cmake, cpp, typescript
領域
api, devtools

調査の方向性

まず WorkspaceBrowseConfiguration API を読み、issue に記載されているとおり、cpptools が compile_commands.json をどのように処理するかを確認します。C と C++ の個別のクエリを含む、複数のコンパイラーパス/引数セットのサポートを定義して文書化します。API が冗長なコンパイラークエリを必要とせずにサブプロジェクト用のこれらのセットを表現できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
33
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/vscode-cpptools-api のほかの issue

microsoft/vscode-cpptools-api の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。