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

  • 0.3.11
  • github.​com
  • github.​com
  • 2 months ago
  • 55 minutes ago
  • 8 years ago

Installs

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