OpenCL syntax highlighting

SciTE

I’ve made an OpenCL language file for the SciTe text editor to ease the writing of OpenCL programs.

Download

http://isph.sourceforge.net/opencl.properties

http://isph.sourceforge.net/opencl.api

Installation

  • Copy opencl.properties to SciTe install dir.

  • At the end of Scite global properties (SciTEGlobal.properties) add the next line

import opencl
  • if you want to use auto completition for the OpenCL functions copy opencl.api to SciTe install dir

  • At the end of Scite global properties (SciTEGlobal.properties) add the next line

api.$(file.patterns.opencl)=$(SciteDefaultHome)\opencl.api

Now your Scite will color .cl and .ocl files; enjoy writing OpenCL code!