Import

BlitzMax Forums/BlitzMax Beginners Area/Import

Eric(Posted 2007) [#1]
Is there a way to get the IDE to highlight commands from an imported Module like MiniB3d?


Brucey(Posted 2007) [#2]
The functions/Types in the module need to be documented :

Rem
bbdoc: blah blah...
End Rem
Function myModuleFunction()
End Rem

then you simply run "Document Modules" from the Program Menu.

Oh, and the module itself needs to be bbdoc'd too :

Rem
bbdoc: This is my module
End Rem
Module BaH.MyModule


Eric(Posted 2007) [#3]
What if I import BMX files not modules and I want those commands (Functions) to be highlighted??


tonyg(Posted 2007) [#4]
Could you manually add them to commands.txt in docs/bmxmods? Probably depend how many there are I suppose but you could write a program for it.


Eric(Posted 2007) [#5]
oh ok... I just thought that maybe there was a quick and dirty way.... I'm playing with miniB3d as a BMX import, not a module. Thanks for that tip though.
Regards,
Eric


Eric(Posted 2007) [#6]
TonyG I did what you siggested and it worked. The only problem is that if I do need to docmods it erases.

I'm wondering if BRL could add an option of additional Keywords. or something of the sort.