swift - Appcode 链接方法缩进与 xcode 缩进不匹配
问题描述
XCode indents 方法链是这样的: xcode method chaining indentation
但是,如果我在 appcode 上按 auto-format,它会以一种奇怪的方式对其进行格式化: appcode method chaining indentation
appcode 是否有代码样式的配置来解决这个问题?当我查看他们的 swift 编码风格时,我似乎找不到改变这种行为的配置。
有谁知道解决这个问题的方法?谢谢。
解决方案
推荐阅读
- sql - 具有聚合函数的 1 对多 Select 查询(Adventure Works 数据库)
- clang-format - Clang 格式。如果行太长,如何使函数参数单独一行?
- c# - 无法在 Xamarin 中添加新的空白页
- java - 如何将字节数组发送到特定的接收者
- ios - ReplayKit - finishBroadcastWithError 不起作用
- c# - 如何在 net.core 3.1 中连接打开的 excel 应用程序?
- python-asyncio - python:强制 aiohttp 不规范化 url
- ios - 为什么我的 iOS 设备不扫描广告扩展程序?
- twitter-bootstrap - 如何使用 bootstrap-colorpicker 仅以“#ffffff”格式获取所选颜色?
- python - 错误:命令出错,退出状态为 1:python setup.py egg_info 检查日志以获取完整的命令输出。如何修复错误?