Topic : Ride7 - Go to definition

Forum : Ride IDE

Original Post
Post Information Post
December 24, 2007 - 3:14am
Guest

Hi

Is there a way (or a setup) to make the "Go to definition" function work? I mean, it would be really useful if right clicking on a variable or function or define, and selecting the Go to definition option, the ide could show the variable or define declaration, or the function code. I don´t know the exact function of this option, since i try it and nothing happens. So i presume it was for that purpose.

Thank you

Kremer

Replies
Post Information Post
+1
0
-1
January 2, 2008 - 8:59am
Guest

Hello,

this function works, but we analyse the code at compile-time. It means that for now, a successful build of your project must be done before the functionality to work. To check if the list of symbols is updated, you can open the "Global Symbols" view. If it is empty, the functionality will not work.

Lionel

+1
0
-1
January 2, 2008 - 9:59am
Guest

I have noted a few issues with the Goto definition. Most notably that I have to select the definition for it to work. Its not enough to rightclick on the function.

EDIT: This is with RIDE7 7.01.0002 and RkitARM 1.03.0004

+1
0
-1
January 4, 2008 - 3:10pm
Guest

Hi

Thanks to all.
Indeed, the Global Symbols view is full, so the feature should work well.
I think my problem was the same that HenrikH already explained. You must select the entire word on the text editor window and then right click.
I didn´t realized that until start using the search function. By positioning the cursor on the word and hitting Ctrl+F, the search window pops up but with empty field. When you select a piece of text and hit the keys, the search window appears with the selected text. So this must be the same problem with the Go to definition feature.

Thanks

+1
0
-1
January 31, 2008 - 1:44pm
Guest

No problem, but its pretty annoying to have to select the words for both search and goto definition works :-(
Hope you fix it in next release