Swimat icon indicating copy to clipboard operation
Swimat copied to clipboard

SwiftUI modifiers are formatted incorrectly when tabs are set to 2 spaces

Open Isuru-Nanayakkara opened this issue 3 years ago • 1 comments

What is the issue

Formatting SwiftUI code in a project where both Tab and Indent widths set to 2, results in modifiers code get positioned slightly misaligned.

Screenshot 2022-05-29 at 5 52 41 PM

Expected behavior

Modifiers code should be positioned under the ending curly brace.

Screenshot 2022-05-29 at 5 52 54 PM

Desktop (please complete the following information):

  • OS: 12.3.1
  • App Version: 1.7.0

Additional context Xcode: 12.3.1

Isuru-Nanayakkara avatar May 29 '22 12:05 Isuru-Nanayakkara

OS: 13.1 Swimat: 1.7.0. (21) Xcode: 14.2

Problem still exists.

sietnik avatar Jan 20 '23 17:01 sietnik