ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

ISF

ISF Syntax Highlighting for Sublime

Details

Installs

  • Total 2
  • Win 0
  • Mac 1
  • Linux 1
Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

ISF Syntax Highlighting for Sublime Text

Syntax highlighting for Interactive Shader Format (ISF) files in Sublime Text.

ISF is a GLSL-based format for describing GPU shaders used in VJ tools, creative coding environments, and video effects hosts such as VDMX, ISFTool and ISF editors on the web.

This package extends GLSL highlighting with ISF-specific awareness:

  • Highlights the JSON metadata block in the leading /* { ... } */ comment
  • Recognizes ISF uniforms (PASSINDEX, RENDERSIZE, isf_FragNormCoord, TIME, TIMEDELTA, DATE, FRAMEINDEX)
  • Recognizes ISF functions (IMG_PIXEL, IMG_NORM_PIXEL, IMG_SIZE, IMG_THIS_PIXEL, IMG_THIS_NORM_PIXEL, isf_vertShaderInit)
  • Recognizes ISF input types (event, bool, long, float, point2D, color, image, audio, audioFFT)
  • Full GLSL base coverage (keywords, types, built-ins, preprocessor)

File Extensions

The package registers the following extensions:

  • .isf
  • .fs
  • .vs

Most ISF hosts save fragment shaders as .fs and vertex shaders as .vs, so all three are registered by default. The syntax also auto-activates via a first-line match when a file begins with a /* { ISF metadata block.

Installation

Package Control (recommended)

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Run Package Control: Install Package
  3. Search for ISF and install

Manual

Clone this repository into your Sublime Text Packages directory:

git clone https://codeberg.org/newrose/isf-syntax.git "$(sublime-packages-dir)/ISF"

Credits

Forked from euler0/sublime-glsl and extended with ISF-specific rules.

License

MIT — see LICENSE.