question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for Ctrl + Click Go to definition for functions and macros

See original GitHub issue

When 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:open
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
andreeiscommented, Jan 27, 2021

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.

0reactions
andreeiscommented, Feb 3, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found