Support for new "!" file exclusion syntax
Maintainer thường phản hồi trong vòng 1 ngày
@Colengms đang làm issue này rồi.
Từ ngày 10/11/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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/Minimal repository/workspace: https://github.com/BobbyTables42/VsCodeIntelliSenseTest.git
When I rebuild the intellisense database it does not find a single file.
Steps to reproduce:
- Open the workspace or (if already open) close all files and "Reload Window"
- "Reset IntelliSense Database"
- View C/C++ Console. The full rebuild looks like this:
LSP: (invoked) cpptools/resetDatabase
Blocking browse database operations.
VCPkgSrv count = 0
Unblocking browse database operations.
Opening code store: /home/dschulze/.cache/vscode-cpptools/cf70b81b5c97f32d555978fa920312e6/.browse.VC.db
Creating/updating compiler cache data tables (previously: 0)
Code browsing service initialized
LSP: (invoked) cpptools/didChangeVisibleTextEditors
Symbol index configuration: config=1025 new_config=1 added_files=0 removed_files=0 changed_file_options=0 changed_forced_includes=0
Unified Store: Files Initialized (completed)
Done parsing remaining files.
Unified Store: Configuration Initialized (completed)
Done parsing remaining files.
Database safe to open.
Expected behavior:
- Workspacefile, change line 12 to
//"*": true, - "Reset IntelliSense Database"
- Console should print out the filenames
Parsed file (initial): /mnt/daten/gitTest/VsCodeIntelliSenseTest/NewProject/inc/Folder/ClassInFolder.h
Parsed file (initial): /mnt/daten/gitTest/VsCodeIntelliSenseTest/NewProject/inc/NewClass.h
Parsed file (initial): /mnt/daten/gitTest/VsCodeIntelliSenseTest/NewProject/inc/OtherClass.h
Parsed file (initial): /mnt/daten/gitTest/VsCodeIntelliSenseTest/NewProject/src/Folder/ClassInFolder.cpp
Parsed file (initial): /mnt/daten/gitTest/VsCodeIntelliSenseTest/NewProject/src/NewClass.cpp
Parsed file (initial): /mnt/daten/gitTest/VsCodeIntelliSenseTest/NewProject/src/OtherClass.cpp
Configuration and Logs
-------- Diagnostics - 10.11.2026, 15:13:01
Version: 1.35.6
Current Configuration:
{
"name": "test config",
"cStandard": "c11",
"cppStandard": "c++11",
"includePath": [
"/mnt/daten/gitTest/VsCodeIntelliSenseTest/NewProject/**"
],
"browse": {
"path": [
"/mnt/daten/gitTest/VsCodeIntelliSenseTest"
],
"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,
"*": true,
"!NewProject/*": true,
"!.vscode/*": 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/cf70b81b5c97f32d555978fa920312e6/.browse.VC.db
No active translation units.
Other Extensions
No response
Additional context
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 6.2k
- Fork
- 1.7k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-cpptools
-
Missing gcc __builtin_stdc_bit_width/floor/ceil signature makes intellisense wrongly report error 70Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
microsoft/vscode-cpptools#14874 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
microsoft/vscode-cpptools#14872 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
microsoft/vscode-cpptools#14871 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
debugger
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
microsoft/vscode-cpptools#14869 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Goto definition (F12) not working with (recursive) includesCó thể đã có người làm @Colengms đã nhận 5 ngày trước. Đang mởbug fixed Language Service
microsoft/vscode-cpptools#14868 · 2 bình luận · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/vscode-cpptools
Issue tương tự
-
area:cli area:security bug priority:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
rtk-ai/rtk#5127 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
"code source" and "numerique.gouv" links: "new window" mention duplicated in the accessible nameĐang mởaccessibility
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
numerique-gouv/lasuite-landingpage#315 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs:triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
HyeokjaeChoi/vaultme#585 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement priority/P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
beettlle/pi-smart-router#200 ·