tailor
tailor copied to clipboard
Tailor autoformat
Do we have some auto correct feature like SwiftLint does, which can automatically correct certain violations ? [https://github.com/realm/SwiftLint#auto-correct]
Currently, Tailor does not have this capability but it is being considered. We would like to know how developers would prefer to have this implemented, i.e.:
- acting directly upon files on the filesystem (assuming you have appropriate version control backups)
- output/display a suggested diff on the console or to a file that could be applied (e.g. using Git)
- use an Xcode plugin to control individual reformatting on a case-by-case basis
I always find "Xcode Plugin" handy, im a lazy developer :) Would love something similar to SwiftLint. ie one word command that fixed all my issue ! This might sound risky but every one uses Git so i dont find it big deal even if it acts directly on files.
Any updates here?
Unfortunately no, but we would recommend you use the official swift-format for this functionality.