A hperlink for a header file in a c/c++ project

Hi,How can I configure a c/c++ project, so that the #include directive will be followed by a header file name with a hyperlinlk (so that clicking on it will cause the editor to jump to that header file ? )Mark
[244 byte] By [markrydea] at [2007-11-27 4:12:22]
# 1

Mark,

I guess you are using makefile-based project (i.e. "project from existing sources"), right?

In this case you should somehow "explain" the built-in parser where to search your include files. There are two ways of doing that:

1) Manual: in Project View context menu:

Project Properties -> Parser Configuration -> C Compiler (or C++ Compiler) -> Include Directories

2) Automatic: in Project View context menu, select "Configure Code Assistance"

To use this, you have to first build your project with debugging information. The "Configure Code Assistance" mode uses this information to correctly determine what include paths were used.

Regards,

Vladimir

Vladimir_Kvashina at 2007-7-12 9:18:21 > top of Java-index,Development Tools,Solaris and Linux Development Tools...