View previous topic :: View next topic |
Author |
Message |
pmuldoon
Joined: 26 Sep 2003 Posts: 218 Location: Northern Indiana
|
ctag confusion |
Posted: Fri Jan 06, 2012 7:26 am |
|
|
Can anyone clue me in on how to get the Project Window-Symbols Tab to display functions?
I had it set up before, but somehow lost it - maybe as long ago as when I upgraded my computer, but never noticed it.
I've downloaded the ctags.exe file from sourceforge per MPLAB's manual, but I can't find any instruction as to where it should reside or how it gets launched when doing a recompile.
I'm using MPLAB v8.50 and CCS v4.128.
All I can remember from installing it before was that it took some digging to find the info to set it up. Apparently I'm not as smart as I was back then cuz I can't seem to find it again.
Being a simple guy, I like to keep my program all in one file, so being able to jump to a function/variable is pretty handy when the programs get to be longer than War & Peace.
Thanks, |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Jan 06, 2012 2:45 pm |
|
|
I didn't have to download anything. I just clicked on the Symbols tab
at the bottom of the Project Window in MPLAB. Then I right-clicked on
the line at the top that said "Locators Disabled" and in the pop-up menu,
I enabled locators. Then I could see my functions in the list. |
|
|
pmuldoon
Joined: 26 Sep 2003 Posts: 218 Location: Northern Indiana
|
|
Posted: Mon Jan 09, 2012 6:28 am |
|
|
Thanks for checking.
Mine is turned on, but all it shows are LABELS and DEFINES.
It seems to be scanning my main.c but isn't picking up the functions for some reason.
hmmm...
I thought it was the ctags install, but if it's getting my defines, it must be doing something.
There's not a lot of variation allowed on how to write a function. I can't imagine it not being able to locate mine.
I'll have to save it for another day when I have some downtime to explore the problem. Just thought I'd ask first to see if anyone else has been thru this. |
|
|
|