vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

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

Open dezbracaty opened this issue 2 years ago • 7 comments

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

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

dezbracaty avatar Aug 06 '23 10:08 dezbracaty

This issue has a long time , when I buy this macbook this issue is exists and still now .

dezbracaty avatar Aug 06 '23 10:08 dezbracaty

Thanks for the report. Without an example project, it will be nearly impossible for us to reproduce this issue and determine what's causing it. It's unclear at this point if the issue is caused by the CMake Tools extension or the C/C++ extension. Are you able to provide an example project? It would also help if you can run the CMake: Log Diagnostics command and provide the output.

benmcmorran avatar Aug 09 '23 15:08 benmcmorran

Thanks for your reply ! Here is the output : https://github.com/dezbracaty/Vscode-Cmake-Tools-Log-Diagnostics/blob/main/Log-Diagnostics.log It's too long so I put it into a log file.

dezbracaty avatar Aug 10 '23 13:08 dezbracaty

If you want a project to test , you can see this project : https://github.com/qCring/QuickVtk It is suitable with VTK 8.2 .

dezbracaty avatar Aug 10 '23 13:08 dezbracaty

And I need to say something, after I tried Fleet , I found that Fleed is so fast and very useful, but it only have some extensions , so I want to use vscode continue , but the intellisense is too slow to use ,I hope someone can help me to fix this issue.

dezbracaty avatar Aug 12 '23 03:08 dezbracaty

@dezbracaty Thanks for providing the test project. We will work to use this in order to reproduce the issue. Hopefully we can get closer to getting you a solution! Thanks!

gcampbell-msft avatar Aug 16 '23 15:08 gcampbell-msft

@dezbracaty Thanks for providing the test project. We will work to use this in order to reproduce the issue. Hopefully we can get closer to getting you a solution! Thanks!

Thank you for replying. And I have a question that do vscode's c++ intellisense need ".net" ? There are no .net environment in my machine .

dezbracaty avatar Aug 17 '23 01:08 dezbracaty