Highlight functions in the IDE + quick help F1


How does it work?

Make your own functions behave like Blitz functions!
This feature allows you to highlight your own functions in the IDE! In addition, pressing F1 in the IDE will display the quick help for your functions (arguments and their type), pressing a second time F1 will display your html documentation in the IDE!! (notice that this feature was tested only on the official IDE).

To do this, Cod2Doc creates an userlib with your functions, and copies the html files directly in the Blitz help directory. Each function has its own html file, and therefore it implies that checking this option checks also automatically the "only functions in separate files" option.

There is two warnings to know about when using this feature:
This feature is very easy to use in Cod2Doc (see here for a description of the GUI). In the main window, you open the "functions only" tab, you check the option "Functions highlighted in the IDE + Quick help F1". Then you enter the name of the userlib you whish to create (the userlib is used by Blitz to highlight the functions, and to provide a quick help). You have also to precise the type of command which is concerned: 2D or 3D commands (which will determine the folder where will be copied the html files). Only the user of Blitz 3D may ask for 3D command! You have also to precise the location of the Blitz folder (for example, C:\Program Files\Blitz3D).
To start the creation of the userlib and of the help files, just push as usual the "Start" button.

If the userlib file already exists, Cod2Doc propose you either to overwrite this file, either to append the documented functions at the end of this file (or to cancel). Don't forget that a function could not be two times in userlibs: so you have to select overwrite if the functions you document are already in this userlib. Select append if you wish to add the functions at the end of the userlib file.

You are a creator of a library and you wish that other users could beneficy from the highlighting of your functions in their IDE? Then here are the steps you need to follow:

Delete userlibs created by Cod2Doc

Cod2Doc allows you to delete userlibs and help files that you have previously created. Only userlib created by Cod2Doc may be removed.
Cod2Doc will remove the userlib you have selected as well as all the help files related to this userlib.

To delete userlibs, click on the "Delete userlibs..." button. Then you just select the userlib you want to remove, and click on the "Delete selected userlib" to delete it permanently (as well as all help files related to it).


Documentation generated by Cod2Doc on 09 Jul 2004.