hi,
I'm trying out PN to work on my AVR C/H files. I made a magic folder to point to the AVR include tree. When I click on a header file I see in ctag tab view that the output of ctag make sections like macros, functions typedef ,.. so that's ok. But if I take a look in the function section where I expect all API function names together of that particular header file this is not the case. For instance if I click on the stdio.h file the function section is only filled with the fflush API and there are of course a couple of other function declared in that header file as you'll know.
The fflush prototype is like:
static __inline__ int fflush(FILE *stream __attribute__((unused)))
{
return 0;
}
Where it's actually inline defined here.
And for instance the get string prototype is only defined like:
extern char *gets(char *__str);
and this is not showing up in the tags view.
Maybe ctag is only default configured to translate actual API function strings when having a c files searched instead of the header files I don't know.
But only giving the headers and libs is a very common thing to do when it comes to using third party code it would be great to have the list complete when selecting the header where the API is declared.
Also the fact that autocompletion works only in the file your're in is a bit of limitation comparing this to other IDEs. But I know this will be a future feature so that's great. Maybe also adding the view of the complete function signature with return , body and argument list would be a high class quality future feature.
Nevertheless PN has the ability of becoming a nice editor in the programming world.
So if I can make some changes to ctag config file I'll be happy to know them to extend with the catch of API functions in regular header files.
Thanks
-G