Currently, NVidia Parallel NSight 2.x is overriding file associations of .fx, .hlsl, .glsl and default them to a basic c++ syntax highlighting, while removing previous NShader configuration.

To remove NSight overriding, you just have to edit the file C:\Program Files (x86)\NVIDIA Parallel Nsight 2.x\Common\Nvda.Vsip.Net.dll.pkgdef and remove the following lines (should start at line 79):

[$RootKey$\Languages\File Extensions\.fx]
[$RootKey$\Languages\File Extensions\.fxh]
[$RootKey$\Languages\File Extensions\.glsl]
[$RootKey$\Languages\File Extensions\.hlsl]

This will remove NSight highlighting in favor of NShader.

Last edited Dec 5, 2011 at 3:45 AM by alexandre_mutel, version 4


jon_hogins Jan 28, 2012 at 5:37 PM 
Unfortunately, this will prevent shader debugging in NSight