Unity Shader
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 392
Jul 27 | Jul 26 | Jul 25 | Jul 24 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 1 | 0 | 3 | 0 | 2 | 1 | 0 | 0 | 2 | 0 | 1 | 3 | 0 | 0 | 1 | 0 | 2 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 0 | 0 | 0 | 3 | 0 | 1 | 2 | 2 | 2 | 0 | 1 | 0 | 1 | 1 | 3 | 1 | 1 | 1 | 0 | 0 |
Mac | 0 | 0 | 3 | 0 | 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 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 1 |
Linux | 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 | 1 | 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](/readmes/img/596a69905562bdd6b5fca08ebb1d90b8ce7c55fb.png)
![code_format_preview](/readmes/img/049d6e99d55d0f973dc175d2b03020895fd29262.gif)
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
Download the project as zip
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.