microsoft / microsoft/vscode-cpptools

Warn about incorrect include paths in the compile command's file

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

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

enhancement Feature: Configuration Language Service quick fix
主要言語
TypeScript
スター
6.2k
フォーク
1.7k
平均マージ
14時間 46分
マージ済み PR(30日)
61

説明

For my extension, I'm creating a better Backup Intellisense that parses the compile commands for includePaths which also lets you convert it to exclusive includePath Intellisense.

Doing so shows 88 include paths, in the compile commands file, that were incorrect. They must be not that important since Intellisense still worked.

Would this be considered a bug(or feature request) that the cpptools extension doesn't warn about incorrect include paths in the compile command's file?

Originally posted by @boocs in https://github.com/microsoft/vscode-cpptools/issues/6358#issuecomment-761285903

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

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

はじめの一歩

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

調査の方向性

報告された不正な include パスを含むコンパイルコマンドファイルから始め、その拡張機能がそれらのパスをどのように使用しているかを確認します。無効なパスをどのように識別すべきか、またユーザー向けの警告をどこに表示すべきかを判断します。誤った include パスによって、動作している IntelliSense を妨げることなく、明確な警告が確実に生成されれば完了です。

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

評価

技術スタック
cpp
領域
tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

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

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