Suggestion: Dumping Global Header script to file and #define completion

Started by SSH, Tue 27/01/2004 15:32:06

Previous topic - Next topic

SSH

It seems that dumping all scripts to a file misses out the header, whihc it would be handy to include.

a) Have I missed some switch to dump it out?
b) If not, can you add it please CJ?

Also, the imported functions declared in the header are completed in the editor, but #defines are not... can this be added too, please?

I know, you'll add it to the list...
12

Scorpiorus

QuoteAlso, the imported functions declared in the header are completed in the editor, but #defines are not... can this be added too, please?
A quick trick I know:

/*
import int DEFINED_NAME;
import int some_name;
*/


this way you can add all the names you want.

It's probably kind of a bug but I'd like it to be a feature, so CJ may I ask you do not fix that or allow an alternative way of doing something similar. It could be handy if for some reason we need to have a function (with possibility of auto complete in script) being overloaded (have a different realization) in some of the rooms, as putting an import in the script header is impossible in that case.

~Cheers

Pumaman

SSH: thanks for the suggestions, I'll add them to my list.

Scorpiorus: hehe well spotted, yes that's a "feature" so I won't be fixing it any time soon :)

SMF spam blocked by CleanTalk