基于先前自动对齐线的 R# 标识
我第一次尝试使用 VS 2019 配置 R#,我想知道是否可以进行特定的缩进。
我目前拥有的:
我想移动第三行(如果可能的话,第四行的右括号)缩进到对齐的上一行的开头,例如这个:
这是我的括号选项(扩展/Resharper/选项/代码编辑/C#/格式样式/制表符、缩进、对齐):
这是我的对齐多行结构选项(扩展/Resharper/选项/代码编辑/C#/格式样式/ 制表符、缩进、对齐)
使用当前可用的缩进选项是否可以实现我想要做的事情?
I am trying to configure R# with VS 2019 for the first time and I'm wondering if a specific indentation is possible to do.
What I currently have :
I would like to move the 3rd line (and if possible the closing parenthese at 4th line) to be indented to the beginning of the previous line which is aligned, like this :
Here are my Parenthesis options (Extension / Resharper / Options / Code Editing / C# / Formatting Style / Tabs, Indent, Alignment) :
And here are my Align multiline constructs options (Extension / Resharper / Options / Code Editing / C# / Formatting Style / Tabs, Indent, Alignment)
Is what I want to do even possible with the current indentation options available?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是和否
Yes and no ???? you can align arguments to the enclosing parenthesis, e. g.:
For this, go to ReSharper | Options | Code Editing | C# | Formatting Style | Tabs, Indents, Alignment and enable Call arguments by '('`:
