microsoft / microsoft/vscode-cmake-tools

Goto Reference or switch between header/cpp file is very slow .

Open
#3,284 7 comments 0 reactions 0 assignees View on GitHub
bug Feature: cpptools integration
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

System : macos 13.5 (22G74) M1 pro
Vscode : 1.80.1
CMake_tool Extension : 1.14.34
C/C++ Extension :1.16.3
compiler : clang 14.0.3

### CMake Tools Diagnostics

```shell
No need logs. When I enable cmake_tool extension , the intellisense is almost invalid . If I click go to definition or decleration, or I switch to header file etc , It will take a long long time , more than 10 seconds, and even no work .But if I disable cmake-tools extension , It become normal . So I want this extension works on mac fine and I like it , so if anyone need any log , tell me and I will give you .
Hope someone can fix this problem.
```

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the slowdown on macOS 13.5 with VS Code 1.80.1, CMake Tools 1.14.34, the C/C++ extension 1.16.3, and clang 14.0.3, comparing behavior with CMake Tools enabled and disabled. Collect the missing debug log and diagnostics, then identify the extension operation causing navigation or header switching to exceed 10 seconds; done means those actions return to normal speed with the extension enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, typescript
Domain
build-system, devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.