Can I make custom "commands" to be Highlighted in Windows IDE?

Forum for discussion about the Windows IDE of Hollywood
Post Reply
Bugala
Posts: 1329
Joined: Sun Feb 14, 2010 7:11 pm

Can I make custom "commands" to be Highlighted in Windows IDE?

Post by Bugala »

I have my own GFX functions which replace the normal commands.

Like instead of DisplayBrush(), I have GFX.DisplayBrush()

However, since they are functions, IDE doesn't realise that they are practically replacing DisplayBrush() command, and therefore it doesn't color them in any way.

It would however be handy from reading point of view if it would color them the same as regular Hollywood commands.

Therefore, is there any way to add custom commands to be colored in Windows IDE, as in, can I somehow myself add that lines with GFX.DisplayBrush() should be colored?
plouf
Posts: 613
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Can I make custom "commands" to be Highlighted in Windows IDE?

Post by plouf »

you can add any keyword to IDE settings->custom and these keyword will be highlighted (blue default),
however as i tested refuses to do it in dot separated can do it however in underscore separated (i.e. gfx_displaybrsuh)

but i dont think is handy for your situation
practically as i understand you like to have IDE to keep track all functions in a project (i.e all files) and highlight them
which currently IDE is not up to.
i think goes to wishlist :)
Christos
Bugala
Posts: 1329
Joined: Sun Feb 14, 2010 7:11 pm

Re: Can I make custom "commands" to be Highlighted in Windows IDE?

Post by Bugala »

Ah, I see.

Was trying out that Custom myself too, but since I was trying specifically that GFX.DisplayBrush, it gave an error, and I thought that it meant customizing something else than highlighting then.

That would actually be a solution to me, since I don't have that many different functions that I want to highlight, but problem is that they are all using that Dot.
Post Reply