Swift in AppCode: how do I format long lines, one parameter per line?
In the following Swift code:
public
class LatestVersionFactory {
public
func createLatestVersion(whereNameOfAppIs nameOfApp: String, andOldVersionIs oldVersion: Version, andExtendedOldVersionIs extendedOldVersion: Version?, andParentDirectoryNameIs parentDirectoryName: String?) -> LatestVersion? {
...
}
}
is there any way in AppCode to format the long line so that each parameter appears on a separate line?
Something like this:
public
class LatestVersionFactory {
public
func createLatestVersion(
whereNameOfAppIs nameOfApp: String,
andOldVersionIs oldVersion: Version,
andExtendedOldVersionIs extendedOldVersion: Version?,
andParentDirectoryNameIs parentDirectoryName: String?
) -> LatestVersion? {
...
}
}
请先登录再写评论。
Hi Geoff.
It hasn't been implemented yet. Feel free to comment or upvote a feature request in our tracker: https://youtrack.jetbrains.com/issue/OC-13240.