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

  • 0.2.2
  • github.​com
  • github.​com
  • 4 months ago
  • 25 minutes ago
  • 4 months ago

Installs

  • Total 686
  • Win 509
  • OS X 158
  • Linux 19
May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 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
Windows 0 4 6 5 6 7 5 1 5 7 5 4 3 0 2 4 6 9 9 6 5 1 4 5 5 5 5 5 1 4 6 6 5 3 3 1 2 2 4 10 1 7 4 3 6 6
OS X 0 2 1 4 3 2 3 0 0 2 3 2 4 4 1 1 0 0 5 3 2 2 1 2 1 0 1 1 0 0 0 1 1 0 0 1 3 2 1 2 2 1 1 1 2 1
Linux 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1

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.