-
Notifications
You must be signed in to change notification settings - Fork 594
Closed
Labels
Description
I'm seeing the formatter change this (wrapped lines indented 1 tab more than first):
devicePositions[device] = rect = new Rect(
Vector2.Lerp(rect.position, target.position, 0.1f),
Vector2.Lerp(rect.size, target.size, 0.1f));
to this (wrapped lines indented 3 tabs more than first):
devicePositions[device] = rect = new Rect(
Vector2.Lerp(rect.position, target.position, 0.1f),
Vector2.Lerp(rect.size, target.size, 0.1f));
Expected versus output diff:
diff --git "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60012-UNI-12303.cs" "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60012-UNI-12303.cs"
index 01be829..29bd878 100644
--- "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60012-UNI-12303.cs"
+++ "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60012-UNI-12303.cs"
@@ -1,4 +1,4 @@
//This gets a double indentation
devicePositions[device] = rect = new Rect(
- Vector2.Lerp(rect.position, target.position, 0.1f),
- Vector2.Lerp(rect.size, target.size, 0.1f));
+ Vector2.Lerp(rect.position, target.position, 0.1f),
+ Vector2.Lerp(rect.size, target.size, 0.1f));Debug support files:
60012-UNI-12303.cs
60012-UNI-12303.cs.log
60012-UNI-12303.cs.unc
Uncrustify.CSharp.cfg
UNI-12303.cs
Disclaimer:
Note: This is a generated issue from our internal issue tracker.
Expect a dry description which could be insufficient to properly understand the issue.
On the other hand, the support files should be sufficient to easily reproduce and debug the issue,
but please comment if it's still unclear and I will get back with clarifications.
See main discussion thread here #1223.
Reactions are currently unavailable