BBEdit plugin to aid editing Ogre scripts on macOS

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
jwwalker
Goblin
Posts: 245
Joined: Thu Aug 12, 2021 10:06 pm
Location: San Diego, CA, USA
x 18

BBEdit plugin to aid editing Ogre scripts on macOS

Post by jwwalker »

If you're developing on macOS, you may be using BBEdit for code editing. BBEdit has built-in support for many common programming languages, but provides for a plug-in called a Codeless Language Module to help BBEdit understand other languages. I have constructed a BBEdit language module for Ogre scripts of types .compositor, .material, and .particle. The features provided are:

  • Syntax coloring for keywords, comments, numbers, and strings
  • Names of top-level constructs such as compositor_node and material appear in BBEdit's
    pop-up menu of "functions", making it possible to quickly jump to those sections of the
    script
  • code folding is available for those top-level groups