 |
Zeus Use this forum to ask for help, submit a bug report or make a suggestion.
|
| View previous topic :: View next topic |
| Author |
Message |
jussij Site Admin
Joined: 13 Aug 2004 Posts: 1938
|
Posted: Tue May 15, 2007 2:48 am Post subject: Configuring the D Language, Phobos-Tango Auto-Completion |
|
|
It is very easy to configure the Zeus IDE to auto-completion for the D programming language.
For example, assuming the DMD package is installed in the D:\dmd\ directory, here are the directions to configure auto-completion for the Phobos library.
Step #1: Create a Phobos Tag Database File
- Start the Zeus IDE
- Select the Tags, Database Builder menu
- Enter Phobos as the database name
- Enter *.d as the file extensions
- Enter D:\dmd\src\phobos as the source file directory
- Hit the Search button
- Hit the Build button
- Hit the Close button
Step #2: Attach the Phobos Tag Database File to the Document Type
- With the Zeus IDE running
- Select the Options, Document Types menu
- Select the D Document Types menu
- Change to the Tag Database panel
- Select the phobos.zbd item and hit the Add button
- Apply the changes
Step #3: Test the Phobos Tag Database File
With the Zeus IDE running open any D file and type in the following code:
After entering sock. a list of the Socket methods and data items should be displayed.
Alternatively type in:
and hit the Ctrl + Enter keys and a list of all functions and classes starting with Sock will be displayed.
Finally, by placing the cursor on the word Socket and using the Tags, Find Current Word menu it is also possible to navigate to the definition of the Socket class.
Step #4: Tango Auto-Complete
To add auto-completion for Tango just repeat these steps using the Tango source code.
Naturally the same approach can be used to add auto-completion for any other package for which the source code is available
Related Topics:
Getting the D language debugger to work with Zeus.
Intergrating the D programming language help file.
Intergrating the D programming language Tango help file.
Writing Zeus macros using D scripting module.
Cheers Jussi |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|