JetBrains / JetBrains/resharper-unity

Add Shaderlab CG/HLSL Braces format

Open
#2,053 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Is possible add BraceStyle option to edit for CG/HLSL code in .shader? like this:
![image](https://user-images.githubusercontent.com/30746531/112771659-37430800-902d-11eb-8a24-48e9ffd45bf1.png)

Contributor guide

Open the contributing guide

Research direction

The issue names ShaderLab .shader files and CG/HLSL brace formatting but no source files, entry points, or tests. Start by locating the existing formatting support for .shader files and any brace-style configuration, then identify how formatting behavior is tested. Done means the requested BraceStyle option works for CG/HLSL code and is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.