当前位置:网站首页>Vs Code suddenly fails to jump

Vs Code suddenly fails to jump

2022-06-22 19:04:00 Chasing dreams - Polaris

Catalog

One 、 The latest solution : Add the path to the tracking code

Two 、 Other methods


One 、 The latest solution : Add the path to the tracking code

VS Code in C/C++ Unable to jump to the defined solution _hb69222 The blog of -CSDN Blog _vscode Go to definition failed

Two 、 Other methods

I am ubuntu Installation on vs code, Use the language C++, Suddenly code jump is not easy to use

My plug-in only installs C/C++, as follows

 Insert picture description here

there Intell sense Mode Set up in order to Default, But it is still empty , I guess I didn't install it C++ Intellisense About plug-ins , Personally, I think this should not be important , But installation C++ Intellisense There may be a problem

Reference resources :https://www.136.la/jingpin/show-199627.html

If installed , You may need the following netizens to solve the problem :

early warning : At this time, the foreshadowing came , If you put on clang, You will not be able to C_Cpp:Intelli Sense Engine Switch set to Default, It will force you to turn it off , So you can't configure C/C++:Edit Configurations(JSON), You can't debug jump .

​  【 resolvent 】 It's simple , In the plug-in bar, put clangd uninstall 、 Just restart .

To configure C/C++:Edit Configurations(JSON):

  Press keyboard “Ctrl + Shift + P”, Enter the settings search bar

Click on C/C++:Edit Configurations(JSON), The configuration will be automatically generated, such as

cStandard Change it to c11 ,cppStandard Change it to c++11 that will do

原网站

版权声明
本文为[Chasing dreams - Polaris]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206221728436946.html