折叠注释设置:如何使折叠注释位于方法的左侧和同一行 [英] Collapsed Comments Setting: How do I make the collapsed comments to be on the left hand side and on the same line of a method

查看:82
本文介绍了折叠注释设置:如何使折叠注释位于方法的左侧和同一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone,


我正在尝试在visual studio中找到执行以下操作的设置:


在折叠属性,评论等之前





[ - ]  / * comments


        blah blah blah


    ** /


      public void method()




折叠属性,评论等后


     


[+]  [...]公共无效方法







最后,我试图发布图片,但我一直得到"BODY TEXT不能包含图像,直到我们可以验证你的帐户"。 (我甚至没有收到帐户验证电子邮件 - 检查过垃圾邮件 )


提前致谢,

解决方案

ManaAura,


欢迎来到MSDN论坛。


< p style ="background:white; line-height:normal; margin-bottom:12pt">您是否要在代码左侧和同一行创建注释部分?就像下面的截图一样,让评论向下移动一行,对吗?



我检查了工具 - 选项..-文本编辑器,没有这样的选项来实现这个要求。对于我个人的想法,最好将它们设置为不同的线路,并且更清楚地以
来检查。在同一行,如果注释很长,我们需要手动移动垂直条来检查代码部分,这不是很方便。


如果您仍想要设置达到您的要求,请随时让我知道,我会帮助您向VS产品团队报告此用户的声音,感谢您的合作。


>>最后,我试图发布图像,但我一直得到"身体文字不能包含图像,直到我们可以验证你的帐户"。 (我甚至没有收到帐户验证
电子邮件 - 也检查过垃圾邮件 )


很抱歉给您带来不便,您需要在此主题上要求:

验证您的帐户
以激活您的帐户。同时,您还可以尝试将屏幕截图上传到
http://onedrive.com 并在此处分享链接。



祝你好运,


Sara


Hello Everyone,

I'm trying to find the setting in visual studio that does the following:

Before Collapsing Attributes, Comments, etc:


[-]  /*comments

       blah blah blah

    **/

     public void method()

After Collapsing Attributes, Comments, etc:

     

[+]   [...] public void method


At last, I tried to post images, but I kept getting "BODY TEXT CANNOT CONTAIN IMAGES UNTIL WE ARE ABLE TO VERIFY YOU ACCOUNT". ( I didn't even receive an account verification email - checked junk mail too )

Thanks in advance,

解决方案

Hi ManaAura,

Welcome to the MSDN forum.

Do you want to make the comment part at the left side of the code and at the same line? Like the following screenshot, and make the comment move down a line, right?

I have checked the Tools-Options..-Text Editor and there is no such option to achieve this requirement. For my personal idea, it is better to make them to different lines and more clearly for us to check. At the same line, if the comment is long and we need to manually move the vertical bar to check the code part, which is not very convenience.

If you still want a setting to reach your requirement, please feel free to let me know and I will help you report this user voice to the VS Product Team, thank you for your cooperation.

>> At last, I tried to post images, but I kept getting "BODY TEXT CANNOT CONTAIN IMAGES UNTIL WE ARE ABLE TO VERIFY YOU ACCOUNT". ( I didn't even receive an account verification email - checked junk mail too )

Sorry for this inconvenience and you need to ask for a requirement on this thread: Verify Your Account to active your account. Meanwhile, you can also try to upload your screenshot to http://onedrive.com and share the link in here.

Best regards,

Sara


这篇关于折叠注释设置:如何使折叠注释位于方法的左侧和同一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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