XCode indents method chaining like this: xcode method chaining indentation
However if I press auto-format on appcode, it formats it in a weird way: appcode method chaining indentation
Does appcode have a configuration in the code-style to fix this? When I look into their coding style for swift, I can't seem to find the configuration to change this behavior.
Anyone know a way to solve this? Thanks.
EDIT:
Another more convenient option is to use https://plugins.jetbrains.com/plugin/7177-file-watchers
with next conf:
More in docs:
https://www.jetbrains.com/help/idea/using-file-watchers.html#showFileWatcherInfoInEditor
PREVIOUS:
AppCode issue is very old...
So i solved it using https://github.com/nicklockwood/SwiftFormat :
brew install swiftformatExternal Tools(program:
/path/to/swiftformat, arguments:$FilePath$, working directory:$ProjectFileDir):KeyMapto your taste: