Goto definition (F12) not working with (recursive) includes
メンテナーはふだん 1 日以内に返信
@Colengms がすでに取り組んでいます。
2026年11月10日 から。
評価
この issue はまだ評価されていません。
説明
Environment
OS: Kubuntu
VS Code
Version: 1.145.2
Commit: c4453f8ea430795f941c1b2ff6c9321135a74a02
Date: 2026-11-06T04:28:13Z
Electron: 43.8.3
ElectronBuildId: 15784459
Chromium: 150.0.7871.250
Node.js: 24.22.1
V8: 15.0.245.31-electron.0
@github/copilot: 1.0.103.r41379698026.g3219c66
@github/copilot-sdk: 1.0.27.41379698026.g3219c66
OS: Linux x64 7.0.0-43-generic snap
CPPTools
Identifier ms-vscode.cpptools
Version 1.35.6
Bug Summary and Steps to Reproduce
Bug Summary:
Example repository: https://github.com/BobbyTables42/VsCodeIntelliSenseTest2
Steps to reproduce:
- Open the workspace (or reload window if already opened)
- Reset IntelliSense Database
- Open NewClass.cpp
- Ctrl+Click on include or click it and press F12
- Tooltip tells me "No definition found for NewClass"
- F12 onto the class name switches to NewClass.h. So he knows the file but does not remember where it was when the include is clicked.
Expected behavior:
Open NewClass.h when "#include "NewClass.h" is clicked. Include path in c_cpp_properties.json has /NewProject/**" in it so it should parse includes recursively.
Configuration and Logs
-------- Diagnostics - 10.11.2026, 15:47:56
Version: 1.35.6
Current Configuration:
{
"name": "test config",
"cStandard": "c11",
"cppStandard": "c++11",
"includePath": [
"/mnt/daten/gitTest/VsCodeIntelliSenseTest2/NewProject/**"
],
"browse": {
"path": [
"/mnt/daten/gitTest/VsCodeIntelliSenseTest2"
],
"limitSymbolsToIncludedHeaders": true
},
"compilerPathIsExplicit": false,
"cStandardIsExplicit": true,
"cppStandardIsExplicit": true,
"intelliSenseModeIsExplicit": false,
"recursiveIncludesPriorityIsExplicit": false,
"recursiveIncludesOrderIsExplicit": false,
"intelliSenseMode": "linux-gcc-x64",
"mergeConfigurations": false,
"recursiveIncludes": {},
"compilerPath": "/usr/bin/gcc"
}
Modified Settings:
{
"C_Cpp.clang_format_sortIncludes": false,
"C_Cpp.loggingLevel": "Debug"
}
Additional Tracked Settings:
{
"editorTabSize": 2,
"editorInsertSpaces": true,
"editorAutoClosingBrackets": "languageDefined",
"filesEncoding": "utf8",
"filesAssociations": {},
"filesExclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.jj": true,
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"filesAutoSaveAfterDelay": false,
"editorInlayHintsEnabled": true,
"editorParameterHintsEnabled": true,
"searchExclude": {
"**/node_modules": true,
"**/bower_components": true,
"**/*.code-search": true
},
"workbenchSettingsEditor": "ui"
}
cpptools version (native): 1.35.5.0
Current database path: /home/foo/.cache/vscode-cpptools/ba65afcebebc2556e0207e0fe7f03883/.browse.VC.db
No active translation units.
Other Extensions
No response
Additional context
No response
- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/vscode-cpptools のほかの issue
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
microsoft/vscode-cpptools#14874 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
microsoft/vscode-cpptools#14872 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
microsoft/vscode-cpptools#14871 ·
メンテナーはふだん 1 日以内に返信
-
debugger
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoft/vscode-cpptools#14869 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Support for new "!" file exclusion syntax対応中かも @Colengms が 5 日前に担当しました。 オープンbug Language Service
microsoft/vscode-cpptools#14867 · コメント 4 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
microsoft/vscode-cpptools の issue をすべて見る
似ている issue
-
area:cli area:security bug priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
"code source" and "numerique.gouv" links: "new window" mention duplicated in the accessible nameオープンaccessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
numerique-gouv/lasuite-landingpage#315 ·
メンテナーはふだん 1 日以内に返信
-
needs:triage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
HyeokjaeChoi/vaultme#585 ·
メンテナーはふだん 1 日以内に返信
-
enhancement priority/P2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
beettlle/pi-smart-router#200 ·