Tag Archive for povray

Xcode language/syntax definition files for POV-Ray

Xcode 3 allows you to specify the syntax of a language with .xclangspec files, which contain information on the structure of the language that is used not only for syntax coloring, but also for populating the symbols menu, showing the currently selected block with the “Focus Follows Selection” feature, selecting the appropriate amount of text on a double-click, etc.

The POV-Ray syntax specification file is a little crude, work still to be done with it, but already a considerable improvement over the other options on the Mac for editing POV-Ray files.

Place POVRay.pbfilespec and POVRay.xclangspec in /Library/Application Support/Developer/Shared/Xcode/Specifications/ to use, create these directories if they don’t already exist.