Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What if the left mouse button of ctrl+ cannot jump in vscode?

Shulou Source: shulou.com Published: 2022-06-02 15:36:47 10月02日 Update

This article mainly introduces the vscode ctrl+ left mouse button can not jump how to do, the article is very detailed, has a certain reference value, interested friends must read it!

Question:

You cannot jump to the definition using the CTRL+ left mouse button.

Solution:

1. Open VsCode: file-> Save the workspace as, and add the folder to the workspace

2. Press the shortcut key Ctrl+P, then click Edit configurations, open the c_cpp_properties.json file, and check the "includePath" field.

Such as:

{"configurations": [{"name": "Win32", "includePath": ["${workspaceFolder} / * *", "C:/Keil_v5/ARM/ARMCC/include"], "defines": ["_ DEBUG", "UNICODE" "_ UNICODE"], "compilerPath": "C:\ Program Files\ LLVM\ bin\ clang.exe", "cStandard": "c11", "cppStandard": "clockwise 17", "intelliSenseMode": "clang-x64"}], "version": 4}

If another path "C:/Keil_v5/ARM/ARMCC/include" is added to my side, it will make it impossible to jump, and it can only be changed to:

{"configurations": [{"name": "Win32", "includePath": ["${workspaceFolder} / * *"], "defines": ["_ DEBUG", "UNICODE", "_ UNICODE"] "compilerPath": "C:\ Program Files\ LLVM\ bin\ clang.exe", "cStandard": "c11", "cppStandard": "cantilever 17", "intelliSenseMode": "clang-x64"}], "version": 4} above are all the contents of the article "what to do if the left mouse button of ctrl+ cannot jump in vscode" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Mouse file how to do content workspace articles work value interests fields guys buddies shortcuts folders methods more knowledge industry information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft MariaDB Docker OPPO Reno MySQL