IncludeFile procedure color and case

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

IncludeFile procedure color and case

Post by PB »

When I have a procedure in an IncludeFile, and then type that
procedure name in my main source, it doesn't get colored or
case-corrected. I'd like to see this happen, please. Otherwise
there's no point using an IncludeFile if every procedure name
you type in the main source is going to stay lower case and
uncolored. It needs to act the same as though it were in the
same source, and also showing procedure parameters too.

Also, on the same subject, if I hold down Ctrl and double-click
a procedure name in my main source, and the procedure lives
in an IncludeFile, it'd be good if the IncludeFile opened and the
cursor went to the procedure, just like it does for current source.

And finally, as per the above: the same for macros. Please. :)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: IncludeFile procedure color and case

Post by freak »

You have to tell the IDE that the two files belong together and all this will work correctly. You can do that by adding them to a project.
quidquid Latine dictum sit altum videtur
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: IncludeFile procedure color and case

Post by PB »

OMG, how did I miss that? :shock: Thanks, Freak.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply