ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Unity Shader

by waqiju ST3

UnityShaderST3 turns your Sublime Text 3 into a perceptive UnityShader Editor/Semi-IDE, followed the lastest Unity Release.

Details

Installs

  • Total 495
  • Win 370
  • OS X 110
  • Linux 15
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 0 3 1 2 2 4 10 1 7 4 3 6 6 11 6 7 3 5 7 2 13 2 4 0 3 2 8 5 8 6 1 2 4 1 12 4 6 1 5 6 5 9 8 13 2 2
OS X 0 0 1 3 2 1 2 2 1 1 1 2 1 0 1 2 2 0 0 3 3 2 1 0 0 1 2 2 1 2 0 2 2 4 3 1 1 3 2 1 1 0 1 2 2 1
Linux 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 2 0 2 0 0 0 1 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

UnityShaderST3

UnityShaderST3 turns your Sublime Text 3 into a perceptive UnityShader Editor/Semi-IDE, followed the lastest Unity release.

UnityShaderST3 aim at improving the experience of reading and writing Unity Shader by provide three main functions.

  • Syntax Highligt
  • Code Completions
  • Goto Definition

syntax_highligt_preview

Features

  • Comprehensive syntax highlight rules for .shader and .cginc files
  • Provides a wide source of word hints for code completions, such as keywords, cg functions and Unity3D built-in marcos/variables/functions etc
  • Alterable Unity3D version in response to incompatibility among different Unity3D releases. For Detail, please see Menu->Peferences->Package Settings->Unity Shader->Setting - Default
  • Goto definition for built-in marcos/variables/functions
  • Keep pace with the lastest version of both Sublime Text(3.X) and Unity3D(5.X)

Installtion

Easy Install (Recommend)

Search on Sublime Package Control by Unity Shader and install.

https://packagecontrol.io/packages/Unity%20Shader

Manual Install

  1. Download the project as zip
  2. Unzip the zip file, rename the folder as UnityShader and move it to sublime text's package folder (Menu->Preferences->Browse Packages)

Flaws

  • Lacking of testing in MacOS platform. Since I rarely used to working in MacOS platform. But it's welcome for your feedback.
  • Code completion is working in global scope. Sometimes, it became a little verbose.

Thanks

At the beginning, cjsjy123 / Unity-Shader give me a lot inspirations and a example of Sublime Text plugin.


In the final, the project is developing. If you discover any mistake, please do not hesitate to tell me.