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 980
  • Win 735
  • OS X 212
  • Linux 33
Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8
Windows 3 1 3 10 3 2 3 6 5 0 5 9 2 6 4 2 5 7 4 5 5 4 2 6 3 9 5 8 1 2 3 5 5 2 4 1 3 1 6 11 6 3 1 6 1 8
OS X 2 0 0 0 0 0 0 1 1 2 1 1 2 1 1 1 0 0 0 1 0 0 4 1 3 1 0 3 1 1 1 1 2 2 1 2 1 1 1 2 1 0 1 1 0 5
Linux 0 3 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 2 1 0 1 0 0 0 0 1 0 0 0 0 0 2

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

new at 170704, Auto Format has added. And a parser for shader syntax has introduced, it make possible for developing more exciting feature in the future.

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.