格式化选项被撤消 [英] formatting options being undone

查看:105
本文介绍了格式化选项被撤消的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2015中,我的格式化选项没有粘贴。



例如,我转到工具>>选项>>文字编辑器>> Javascript>>常规和取消选择自动大括号完成:







我也去工具>>选项>>文字编辑器>> Javascript>>格式化>>新行并选择将新的行括号放置在功能和类的新行上,并将新行括号放在控制块的新行上。







但这些仍然无法撤消。



为什么Visual Studio坚持撤消我的设置?

In Visual Studio 2015, my formatting options are not sticking.

For example, I go to Tools >> options >> Text Editor >> Javascript >> General and unselect Automatic brace completion:



I also go to Tools >> options >> Text Editor >> Javascript >> Formatting >> New Lines and select Place open brace on new line for functions and classes, and also Place open brace on new line for control blocks.



But these keep getting undone.

Why does Visual Studio insist on undoing my settings?

推荐答案

也许它是同步设置的问题[ https://msdn.microsoft.com/en-us/library /dn135229.aspx 。确保您已登录自己的帐户。 (它应该是
是工具栏中的指示符)。或者您可以暂时禁用此功能并调查效果。

Maybe it was a problem with Synchronised Settings [https://msdn.microsoft.com/en-us/library/dn135229.aspx]. Make sure you are logged in to your account. (It should be an indicator in toolbar). Or you can temporarily disable this feature and investigate the effects.


这篇关于格式化选项被撤消的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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