HLSL and Effect file syntax highlighting language definition file for the Notepad++ editor

jwatte's picture

Attached, please find a syntax highlighting file for HLSL and Effect files for Notepad++. This file is substantially better than the one available on the Notepad++ main download site:

  • It adds all of the Effect file tokens, in UPPERCASE and ProperCase forms.
  • It defines operators to let the built-in functions be recognized.
  • It recognizes preprocessor directives.
  • It recognizes semantic definitions.
  • It adds a number of missing tokens, and removes tokens that aren't actually HLSL.

To install it, follow the instructions under "User Defined Languages" on the Notepad++ download page: http://notepad-plus.sourceforge.net/uk/download.php

notepad++-hlsl.zip2.06 KB