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
andmaterial
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