ShaderlabVSCode - Visual Studio Code extensions for Unity Shaderlab programming

ShaderlabVSCode will be upgraded to Omni Shader Tools For Unity, see more details on https://omnishader.amlovey.com


Purchase From Asset Store | Purchase From MianBaoDuo (China Only) | Free Version | Documents | Email

ShaderlabVSCode is a Visual Studio Code extension for Unity Shaderlab programming.

A preview video see below.

Asset Store
https://assetstore.unity.com/packages/tools/utilities/shaderlabvscode-94653

Or purchase from MianBaoDuo (China Only) with lower price.

Key Feathers

  1. Syntax Highlighting
  2. Code Completion and Basic Intellisense
  3. Hover Information
  4. Signature Help
  5. Go To Definition
  6. Code Snippets
  7. Document Format
  8. SRP supports

Image Previw






Any issues or questions, welcome to send email to amlovey@qq.com

Beta 1 is available on Unity Asset Store now

Would this work with VS 2015 Community?

@ Not supports Visual Studio for now. I will publish Visual Stuido plugin in future depends on how this assets going on Unity Assets Store.

Aww, that sucks. I really needed this to work on both Code and VS.

@ I have a open sourced VS plugin for shaderlab, it has VS 2015 supports, you may try this GitHub - wudixiaop/ShaderlabVS: ShaderlabVS is a Visual Studio plugin for Unity Shaderlab programming

Beta2 with snippets support is available on Asset Store now

V1.0.3 is available on Asset Store now

看起来不错,便宜点就好了,我等等看看有没有降价或打折活动

V1.0.5 with Region mark support is available on Asset Store. BTW One Week Sales will end in few days.

Bug report on document format :

Before format:
#pragma surface surf Lambert vertex:vert
After format:
#pragma surface surf Lambert vertex: vert

Formatted version causes shader compile error, plz fix that asap.

Thank you for details. I will fix it ASAP.

V1.0.6 with fix of Document Format is available on Asset Store now.

Hello! I recently use your extension for visual studio code, I really like it. But I noticed one bug, with several document formatting, indentation after #if, #endif and so on.
Also, the formatting inside the structures leads to alignment with the variables, I would like to see

#if defined(_RENDERING_CUTOUT)
clip(alpha - _AlphaCutoff);
#endif

but not

#if defined (_RENDERING_CUTOUT)
clip (alpha - _AlphaCutoff);
#endif

Thank you for the wonderful extension!

PS. Sorry for my bad English.

Hi,

Would you mind send a email to me? I have do some improvement today, I think I have fix it. I will send you the new package. Thank you!

v1.1.0 with .hlsl and .cg file support is available on Asset Store now

20% OFF SALE for Spring Festival of China

Asset Store claims there was an update to 1.1.4 but I can’t seem to import anything above 1.1.2?

I’m not sure what happen to Asset Store. Did you try to delete the local copy of ShaderlabVSCode and download from Asset Store again?

Deleting it from my project worked, thanks.

1 Like