Author Topic: Question: Is there any plug-in to allow Unix shell script syntax highlight?  (Read 4403 times)

JL

  • Guest
Thank you in advance!

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
You don't need a plugin, just a new lexer file.
Be patient!
This bug will be fixed soon...

JL

  • Guest
You don't need a plugin, just a new lexer file.

OK. Does it exist already? Is there any URL it can be downloaded from?

Thank you.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
No, but you can create it (see link in above post). An easy way of doing it would be to make a copy of lexer_batch.xml (this one should be close enough), substitute a few keywords, and supply the correct index value.

The index that you will be wanting to use is 62.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

  • Guest
Hmm maybe this is my next lexer assingment.  :lol: