microsoft / microsoft/vscode-cmake-tools

#include errors detected based on information provided by the configurationProvider setting.

Open
#3,410 13 comments 4 reactions 1 assignee Claimed by @andreeis View on GitHub
bug Feature: cpptools integration investigation needed
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Environment

- OS and Version: openSUSE Tumbleweed - 20231023
- VS Code Version: 1.83.1 f1b07bd25dfad64b0167beb15359ae573aecd2cc
- C/C++ Extension Version: v1.17.5
- If using SSH remote, specify OS of remote machine: SUSE Linux Enterprise Server 15 SP4

[C_CPP.log](https://github.com/microsoft/vscode-cpptools/files/13185769/C_CPP.log)

### Bug Summary and Steps to Reproduce

Bug Summary:
1. #include errors detected based on information provided by the configurationProvider setting. Squiggles are disabled for this translation unit (/raven/u/nilsch/codes/bsl6d/src/grid/grid.hpp).
2. cannot open source file "Kokkos_Core.hpp" (None of the include files are detected)

These errors occur independent of which file of the project is opened. For none of the files any includes can be found.

Steps to reproduce:
1. Connect to remote server
2. Configure and build project using CMake
3. Open any file of project
4. Returns error message above

Might be related to microsoft/vscode-cpptools#11073, microsoft/vscode-cpptools#11306

### Configuration and Logs

```shell
Logging file is provided above using `loggingLevel: Debug`
```

### Other Extensions

- CMake Tools v1.15.31

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.