Repository: CodeEditApp/CodeEdit
File: CodeEdit/Features/NavigatorSidebar/NavigatorSidebarToolbarTop.swift (Swift)

Code before:
        }
        .frame(maxWidth: .infinity, idealHeight: 29)
        .fixedSize(horizontal: false, vertical: true)
    }

    private func makeIcon(named: String,
                          title: String,
                          id: Int,
                          scale: Image.Scale = .medium,
                          sidebarWidth: CGFloat) -> some View {
        Button {
            selection = id
        } label: {
            getSafeImage(named: named, accesibilityDescription: title)
                .help(title)
                .onDrag {
                    if let index = icons.firstIndex(where: { $0.imageName == named }) {
                        draggingItem = icons[index]
                    }
                    return .init(object: NSString(string: named))
                } preview: {
                    RoundedRectangle(cornerRadius: .zero)
                        .frame(width: .zero)
                }
        }
        .buttonStyle(NavigatorToolbarButtonStyle(id: id,
                                                 selection: selection,
                                                 activeState: activeState,
                                                 sidebarWidth: sidebarWidth))
    }

    private func getSafeImage(named: String, accesibilityDescription: String?) -> Image {
        // We still use the NSImage init to check if a symbol with the name exists.
        if NSImage(systemSymbolName: named, accessibilityDescription: nil) != nil {
            return Image(systemName: named)
        } else {
            return Image(symbol: named)
        }
    }

    struct NavigatorToolbarButtonStyle: ButtonStyle {
        var id: Int
        var selection: Int
        var activeState: ControlActiveState
        var sidebarWidth: CGFloat

        func makeBody(configuration: Configuration) -> some View {
            configuration.label
                .symbolVariant(id == selection ? .fill : .none)
                .foregroundColor(id == selection ? .accentColor : configuration.isPressed ? .primary : .secondary)
                .frame(width: (sidebarWidth < 272 ? 24 : 30), alignment: .center)

Review comment (suggestion):
break up arguments to new lines

```swift
SomeTypeDefinition(
  arg1: …,
  arg2: …
)
```

Code after:
        }
        .frame(maxWidth: .infinity, idealHeight: 29)
        .fixedSize(horizontal: false, vertical: true)
    }

    private func makeIcon(named: String,
                          title: String,
                          id: Int,
                          scale: Image.Scale = .medium,
                          sidebarWidth: CGFloat) -> some View {
        Button {
            selection = id
        } label: {
            getSafeImage(named: named, accesibilityDescription: title)
                .help(title)
                .onDrag {
                    if let index = icons.firstIndex(where: { $0.imageName == named }) {
                        draggingItem = icons[index]
                    }
                    return .init(object: NSString(string: named))
                } preview: {
                    RoundedRectangle(cornerRadius: .zero)
                        .frame(width: .zero)
                }
        }
        .buttonStyle(
            NavigatorToolbarButtonStyle(
                id: id,
                selection: selection,
                activeState: activeState,
                sidebarWidth: sidebarWidth
            )
        )
    }

    private func getSafeImage(named: String, accesibilityDescription: String?) -> Image {
        // We still use the NSImage init to check if a symbol with the name exists.
        if NSImage(systemSymbolName: named, accessibilityDescription: nil) != nil {
            return Image(systemName: named)
        } else {
            return Image(symbol: named)
        }
    }

    struct NavigatorToolbarButtonStyle: ButtonStyle {
        var id: Int
        var selection: Int
        var activeState: ControlActiveState
        var sidebarWidth: CGFloat

        func makeBody(configuration: Configuration) -> some View {