FEAP User Forum

FEAP => Installation => Topic started by: Nish on October 16, 2019, 12:16:04 AM

Title: link a function to its source definition
Post by: Nish on October 16, 2019, 12:16:04 AM
Hello
I work with FEAP in visual sudio. When I am in a subroutine and a function is called, I would like to click on the function and view its source file which defines it. Now I have to look for the function file in the library..
Is there any way for this?
Regards
Title: Re: link a function to its source definition
Post by: K.Li on October 17, 2019, 01:06:09 AM
Sometimes, you can right-click on the name of the function or subroutine in your code and choose "Go To Definition", it will open the source code. But if your function name is declared as an external function, it may not work. It does work if you declare your function in the interface block.
Title: Re: link a function to its source definition
Post by: Nish on October 17, 2019, 02:09:07 AM
Thank you for your reply,
however mine doesn't work in this way.
Title: Re: link a function to its source definition
Post by: Prof. S. Govindjee on October 17, 2019, 07:12:34 AM
Try building your code as described in this post

http://feap.berkeley.edu/forum/index.php?topic=2124.0 (http://feap.berkeley.edu/forum/index.php?topic=2124.0)

and use the right-click method.