Visual Studio 2015基本问题。 [英] Visual Studio 2015 Basic Issue.

查看:86
本文介绍了Visual Studio 2015基本问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我是2015年视觉工作室的新手,我使用的是从2013年版升级的快车版。我将尝试解释我遇到的一个主要问题。


在2013版本中,编辑字符串时你离开那条线并没有收盘报价,2013年会自动发出收盘价。

例如:

dim String as string ="这是我的字符串

最终结束引用:  "这是我的字符串"当保存文件,编译或离开你所在的行时。


In VS2015,这不会发生并最终在这个错误下面的行中放置空格和其他不正确的信息,这很烦人,因为这会更改字符串/代码低于此值,有时在修复原始的
错误时没有注意到,离开其他字符串或代码中添加的空格等。



现在,我知道自动关闭引号,这不是问题,当我放置一个字符串时我会得到""但是,正常情况下:如果您编辑或粘贴没有收盘报价的字符串,那么当您完成编辑该行或保存项目时,2013将自动为您提供结束报价
,而2105则不会创建全部各种各样的错误。


是否有这样的选项,或者现在是这样的?


谢谢。




解决方案

你好 MrHatterr


根据你的描述,我可以在我的vs2013中重现它,它也无法在vs2015和vs2017中实现。


但我认为这是合理的。我已帮助您向connect.microsoft.com提交了反馈,我认为MS的工程师将认真评估此问题:


https://connect.microsoft.com/VisualStudio/feedback/details/3128906


并且你可以标记此回复,这可以帮助有相同想法的其他人投票和评论。


非常感谢:)


最好的问候,


奥斯卡


Hi,

I am new to visual studio 2015, I am using express edition upgraded from 2013 edition. I will try to explain a major problem I am having.

In the 2013 version, when editing a string and you move away from that line and you have no closing quote, vs 2013 would automatically place the closing quote.
For example:
dim String as string = "This is my string
would end up with the closing quote : "This is my string" when either saving file, compiling or leaving the line you are on.

In VS2015, this does not happen and ends up putting spaces and other incorrect information in the lines below this error, it is annoying as this changes strings / code below this and is sometimes not noticed when you fix the original error, leaving the added spaces, etc in the other strings or code.

Now, i know about automatic closing quotes, this is not the issue, when I place a string I will get the "" as normal, however: if you edit or paste a string that has no closing quote vs 2013 would put the closing quote there for you automatically when you finish editing that line or save your project, vs 2105 does not and creates all sorts of errors.

Is there an option for this, or is this how it is now?

Thanks.


解决方案

Hi MrHatterr,

According your description, I can reproduce it in my vs2013, and it also can’t be achieved in vs2015 and vs2017.

But I think it’s reasonable. I have helped you submitted a feedback to connect.microsoft.com, I think engineers from the MS will evaluate this issue seriously:

https://connect.microsoft.com/VisualStudio/feedback/details/3128906

And you could mark this reply, which could help others who have the same idea to vote and comment it.

Thank you very much :)

Best Regards,

Oscar


这篇关于Visual Studio 2015基本问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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