- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As newbee in PSoC Creator, I did not yet found out, how to jump with code explorer to an addressed function.
In my programs, the main function is the first, and all others are below. So I have to declare these functions above main.
If I double click in code explorer a function, it jumps to the declaration but not to the function code. A right click has no effect.
What trick does move it to the code?
Many thanks and best regards
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
right click in code on the function name and select "Go To Implementation".
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob,
Many thanks again for your quick help.
But if I right click on the pink function name, nothing happens. A right and left double click moves to the declaration, but not to the function code. I checked for appropriate config parameters in PSoC Creator, but did not found one.
PSoC Creator is such a fantastic tool, there must be a way to jump to function codes. But I did not know.
Best regards
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I just double click on f() in code explorer window it takes
me to f() code.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dana,
Many thanks for your help.
In your case, you don't have declarations in front of your main. Because your functions are written in front of main, Code Explorer moves to the first instance, which is the function code.
In my case, the function codes are below main, so CE jumps to the declaration.
See attached my window.
Best regards
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider filing a CASE and let Cypress know, maybe that is a future
fix, or at least make them aware of issue. Point to this thread.
To create a technical case at Cypress -
“Support”
“Technical Support”
“Create a Case”
You have to be registered on Cypress web site first.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Again: You have the choice to "Go To Definition" or to "Go To Implementation" of a function.
Right click in CODE window on the function name and select the appropiate.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob,
Now I understand your hint. I have to right-click in the code section and not in the Code Explorer.
It's a solution but not very handy. I work with STM32 and other IDEs, which differentiate in the CE between code and declaration.
Hi Dana,
I will see, whether I can live with Bob's proposal. If not, I will open a case.
Many thanks to both of you for your help.
Best regards
Walter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Running Creator 3.0 SP1, right click in code explorer window, of any function,
produces no dialog, no menu. A double click takes me to prototype definition,
in this particular project f() protos listed before main().
I do not feel like reinstalling, will live w/o feature for now.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This was an oversight in 3.0 - in our next relase you will be able to navigate to the implementaiton of a function from the Code Explorer window.
-- Mark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@yfs, Thanks for clarifying this, cleared up a lot of confusion.
Regards, Dana.