Sign in to follow this  
roastedamoeba

HLSL Tools for Visual Studio

Recommended Posts

I'm pleased to announce the release of HLSL Tools for Visual Studio v1.0.

 

HLSL Tools is a free (and open source) extension for Visual Studio 2013 and 2015 that adds IntelliSense support when editing HLSL shaders.

 

Since VS2012, Visual Studio has shipped with very basic support for HLSL files - really just syntax highlighting and sometimes-correct automatic formatting. HLSL Tools works with all HLSL versions / shader models, and includes these features:

  • Statement completion
  • Signature help
  • Reference highlighting
  • Navigation bar
  • Navigate to (Ctrl+,)
  • Live syntax and semantic errors
  • Go to definition (F12)
  • Quick info
  • Gray out code excluded by the preprocessor
  • HLSL-specific language options

 

You can download HLSL Tools:

 

Perhaps of interest to those writing HLSL-based language tools, HLSL Tools includes a handwritten HLSL parser and semantic analyzer, which underpins all the features mentioned above.

 

Here are some screen captures showing off some of the IntelliSense features:

 

Statement completion:

 

statement-completion.gif

 

 

Signature help:

 

signature-help.gif

 

 

Reference highlighting:

 

reference-highlighting.gif

 

 

Navigation bar:

 

navigation-bar.gif

 

 

Navigate to:

 

navigate-to.gif

 

 

Live errors:

 

live-errors.gif

 

 

Go to definition:

 

go-to-definition.gif

 

 

Quick info:

 

quick-info.gif

 

 

Preprocessor support:

 

intellisense-macro.gif

 

 

Options:

 

options.gif

Edited by Tim J

Share this post


Link to post
Share on other sites
Sign in to follow this