Closed Qusea closed 8 months ago
Hi @Qusea,
It seems like you try to run https://github.com/apple/swift-format (according to the dash) using the wrong extension.
swiftformat
is Nick Lockwood's https://github.com/nicklockwood/SwiftFormat. Then use this extension https://github.com/vknabel/vscode-swiftformat.
You currently have installed swift-format
by apple https://github.com/apple/swift-format. Use the other extension https://github.com/vknabel/vscode-apple-swift-format
`Error: Command failed: /usr/local/bin/swift-format stdin --stdinpath /Users/quseasaif/Documents/Code/xcode/Little Lemon/Little Lemon/Menu.swift --indent 2 Error: Unknown option '--stdinpath' Usage: swift-format format [--in-place] [--configuration] [--assume-filename ] [--recursive] [--ignore-unparsable-files] [--parallel] [--color-diagnostics] [--no-color-diagnostics] [ ...]
See 'swift-format format --help' for more information.