Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What if the left mouse button function of CTRL+ in vscode does not jump?

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

Editor to share with you about the vscode CTRL+ left mouse button function does not jump how to do, I hope you will have something to gain after reading this article, let's discuss it together!

The question leads to:

Recently, when using VScode, the F12 shortcut key has its ups and downs, and the Ctrl+ left mouse button sometimes doesn't work well, and it's always hard to jump. Hold down the Ctrl key and hover over a function name without prompting and cannot jump:

Solution:

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

two。 Press the shortcut key Ctrl+P, then click Edit configurations to 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": "Clover 17", "intelliSenseMode": "clang-x64"}], "version": 4}

Ctrl+ left button, F12 are perfect jump, solve the problem.

After reading this article, I believe you have a certain understanding of "what to do if the left mouse button function of CTRL+ in vscode does not jump". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: Mouse function file how to do workspace keyboard shortcuts articles questions work ups and downs bad fields finished folders methods time more sometimes knowledge industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Xiaomi Redmi MariaDB OPPO Reno