新线上的卷曲支架 [英] Curly bracket on new line

查看:78
本文介绍了新线上的卷曲支架的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows上的VS中,我习惯于打开一个花括号并按下输入它自动将括号移动到一个新行(我正在使用c#)。自从在我的Mac上安装VSC 2017后,它将支架保持在同一条线上。我无法在preferences / text
编辑器下找到任何更改此行为的内容。有谁知道这是什么?

In VS on Windows I was used to when opening a curly bracket and pressing enter it automatically moving the bracket to a new line (I'm using c#). Since installing VSC 2017 on my Mac it keeps the bracket on the same line. I can't find anything under preferences/text editor to change this behaviour. Does anyone know where this is?

推荐答案

在Windows VS中,我不知道"偏好"是什么对于Mac版本来说可能是独一无二的。 对于Windows版本,文本编辑器下列出了很多语言,因此我们可以根据语言自定义这些选项。
你确定那里没有语言吗?

In the Windows VS I don't know what "preferences" are so that might be unique to the Mac version.  For the Windows version there are very many languages listed under Text Editor so we can customize those options based on the language. Are you sure there are no languages in there?


这篇关于新线上的卷曲支架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆