Add support for Ctrl + Click Go to definition for functions and macros
See original GitHub issueWhen I define a function or macro in .cmake or CMakeLists.txt file I cannot use CTRL + Left Click to see the function definition. I am specifically thinking of this: https://code.visualstudio.com/docs/editor/editingevolved#_go-to-definition
I didn’t find a similar issue for this.
Platform and Versions
- Operating System: Windows
- CMake Version: 3.19.3
- VSCode Version: 1.52.1
- CMake Tools Extension Version: 1.5.3
- Compiler/Toolchain: GCC for x86_64-linux-gnu 9.3.0
Other Notes/Information
I am using WSL on Windows. (Ubuntu 20.04)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Ctrl+Click Go To Definition - Visual Studio Marketplace
Make ctrl+click perform a "Go To Definition" on the identifier under the cursor. Also, when the ctrl key is held down, highlight identifiers ......
Read more >Adding Ctrl-Click "Go To Definition" support to Visual Studio ...
Previously using Visual Studio 2013, I would use the awesome extension from Noah Richards which would add Ctrl-Click as a shortcut for Go...
Read more >Assign macro or function to buttons on your mouse
How to assign functions · Click Start, and then click Control Panel. · Double-click Mouse. · Click the Buttons tab. · Under Button...
Read more >How do I Ctrl+click to go to a Java method in a Java file?
Ctrl +click is used by default for multi-caret editing in ... adding a command to go to the definition of a symbol (function,...
Read more >Source code navigation | WebStorm Documentation - JetBrains
Press Ctrl+Alt+Shift+Down / Ctrl+Alt+Shift+Up . From the main menu, choose Navigate | Next / Previous Change. Click a change marker, and then ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I understand. I hope we’ll have resources to address this scenario as well at some point. Until then, maybe someone in the community will step up.
Integration not yet, but we are currently testing a change that would cause the twxs extension to be recommended by VSCode when opening CMake projects, same way CMake Tools is recommended.