Open
Description
There should be some options to control swift-format that is bundled with the toolchains.
I'm not sure how this'll play with the fact that the formatter is called by sourcekit-lsp, not directly by the vscode extension. Perhaps @ahoppen can enlighten me.
Some possible options:
- Option to completely disable
swift-format
. - Custom swift-format executable path.
- Custom arguments to be passed to swift-format.
- Custom paths to search for
.swift-format
. - Option to disable formatting on projects with certain conditions.
- For example is there is no
Package.swift
or if there is no.swift-format
file.
- For example is there is no