User forums > Help

`Goto declaration` hotkey not working

(1/2) > >>

sgi05431:
The `Goto declaration` hotkey is not working on my system, specifically, nothing happens. Caliing the functionality via menu works.

As an example, I:

1. open the file https://github.com/mysql/mysql-server/blob/mysql-5.0.96/sql/sql_show.cc
2. go to line 1431 (`protocol->prepare_for_resend();`)
3. move the cursor to the `protocol` token
4. press "Ctrl+Shirt+." ()
5. nothing happens

In contrast, if I do 4. via menu (Search -> Goto declaration), it sends me to the declaration.

My system is a XUbuntu 16.04 x86-64. The CB build is from ppa:pasgui/ppa.

Thanks!

oBFusCATed:
You need a project for this to work. You can create one using cmake -G "Codeblocks - Ninja" or something similar.

sgi05431:
To clarify, with "for this work" you mean:

- for the hotkey to work
- or for the "go to declaration" functionality to work?

The "go to declaration" functionality does work - the problem is just the hotkey.

(I don't have the test machine right now).

oBFusCATed:
I doubt it is just the hot key.
Pressing the hotkey is the same as pressing the menu item in the main menu.
If this works then the hotkey should work.

sgi05431:
Have you actually tried? The hotkey not working, at least on my machine, is the whole point of this post.

Navigation

[0] Message Index

[#] Next page

Go to full version