Skip to content

ShaderlabVS is a Visual Studio plugin for Unity Shaderlab programming

License

Notifications You must be signed in to change notification settings

Warrenate/ShaderlabVS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShaderlabVS

ShaderlabVS is a Visual Studio Plugin for Unity Shaderlab programming. Latest releae build can be found at here

####Screenshot Preview

  • Syntax Hightlighting and outlining
  • Quickinfo
  • Code Completion
  • Signature help for CG and Unity built in functions

####Features Overiew:

  • Outlining
  • Quickinfo
  • Code Completion
  • Comment/UnComment shorcuts
    • Press "Ctrl + E, C" to comment
    • Press "Ctrl + E, U" to uncomment
  • Signature help for CG and Unity3d built in functions
  • Syntax Hightlighting
    • support .shader, .compute, .cginc and .glslinc files
    • Keywords are case insensitive

####How to build and debug:

  1. Download and install Visual Studio SDK
  2. Open ShaderlabVS solution
  3. Press F6 to build solution
  4. If you want to debug it in Visual Studio, and encounter problems, please make sure the Start exteral program and Comand line arguments in the Debug tab of ShaderlabVS project settings have value as follow:
    1. Set Start exteral program to the path of devenv.exe (the Visual studio main program)
    2. set Comand line arguments to /rootsuffix Exp. Below is a screenshot for the settings:

####Support Visual Studio Version:

  • Visual Studio 2012
  • Visual Studio 2013
  • Visual Studio 2015 (Need execute vs2015_register.cmd after the plugin install)
  • The other version are not tested, not sure if there are also work or not.

####License MIT

About

ShaderlabVS is a Visual Studio plugin for Unity Shaderlab programming

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.1%
  • GLSL 3.3%
  • Batchfile 0.6%