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

Unity Shader

by waqiju ST3

A sublime text plugin which aim at boosting happiness when editing Unity Shader, behaved as IDE-like, followed the lastest Unity release.

Details

Installs

  • Total 10K
  • Win 8K
  • Mac 2K
  • Linux 383
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 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12
Windows 2 1 3 2 1 1 0 0 2 1 0 1 0 0 1 0 0 0 3 0 0 2 3 2 1 1 2 2 1 0 0 0 2 1 1 0 0 2 5 0 1 1 0 2 0 1
Mac 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0
Linux 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

UnityShaderST3

A sublime text plugin which aim at boosting happiness when editing Unity Shader, behaved as IDE-like, followed the lastest Unity release.

中文说明移步 >> README_CH.md There is a README.md copied in Chinese.

Main Functions

  • Syntax Highligt

  • Code Completions

  • Code Format ( achieved by a parser speci for .shader grammer, see beautify_unity_shader )

  • Goto Definition

Preview

syntax_highligt_preview code_format_preview

Features

  • Comprehensive syntax highlight rules for .shader and .cginc files

  • Plentiful words 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

  • Scour and clean your source code in a accurate way

  • 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

By Package Control (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)

Issue

If you discover any mistake or inspire any better idea, welcome to feedback at Github Issue.

Credit

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