Intellisensing for MFC or wxWidgets
Posted: Tue Jul 05, 2005 12:10 pm
The Zeus Tags Database Builder utility makes it possible configure tag searching and intellisensing for libraries like MFC, wxWidgets or any other third party library. All that is required to achieve this are the include files for the library.
Configuring MFC Intellisensing
Consider the steps required to create a tags database for the Microsoft MFC library:
But naturally if a situation exists where implementation details are also required for tagging, then the .cpp files should also be added to the database.
All that remains is to integrate the newly created database into the Zeus editor as follows:
If all has worked as planned, the . character should trigger the intellisensing, resulting in the popup list displaying the methods of the CString class.
It is also possible to search for the CString tag by place the cursor on the CString word and using the Tags, Find Current Word menu to initate the search. Alternatively, the tag search can also be performed using the F11 keyboard shortcut. The results of the search will get displayed in the tags search output window.
Configuring wxWidgets Intellisensing
For wxWidgets repeat the process outlined above, but this time point the tags builder utility to the wxWidgets include directory.
NOTE: If you find the intellisening does not work as described please refer to this related issue:
http://www.zeusedit.com/forum/viewtopic.php?t=212
Configuring MFC Intellisensing
Consider the steps required to create a tags database for the Microsoft MFC library:
- Use the Tags, Database Builder menu to start the builder utility
- Give the database a name for example something like MFC Library
- Specify the file types to be added to the database and for this example we want the *.h include files
- Use the Browse button to find the MFC include directory which
for example might be something like c:\Program Files\Microsoft Visual Studio\VC98\MFC\Include - Use the Search button to locate the *.h include files
- Use the Build button to create the tags database file
But naturally if a situation exists where implementation details are also required for tagging, then the .cpp files should also be added to the database.
All that remains is to integrate the newly created database into the Zeus editor as follows:
- Use the Options, Document Types menu to edit the C++ Document Type
- Switch to the tags section of the Document Type
- Add the MFC Library to the list of tag database files
Code: Select all
CString str;
str.
It is also possible to search for the CString tag by place the cursor on the CString word and using the Tags, Find Current Word menu to initate the search. Alternatively, the tag search can also be performed using the F11 keyboard shortcut. The results of the search will get displayed in the tags search output window.
Configuring wxWidgets Intellisensing
For wxWidgets repeat the process outlined above, but this time point the tags builder utility to the wxWidgets include directory.
NOTE: If you find the intellisening does not work as described please refer to this related issue:
http://www.zeusedit.com/forum/viewtopic.php?t=212