问题描述
我是2015年视觉工作室的新手,我使用的是从2013年版升级的快车版。我将尝试解释我遇到的一个主要问题。
在2013版本中,编辑字符串时你离开那条线并没有收盘报价,2013年会自动发出收盘价。
例如:
dim String as string ="这是我的字符串
最终结束引用: "这是我的字符串"当保存文件,编译或离开你所在的行时。
In VS2015,这不会发生并最终在这个错误下面的行中放置空格和其他不正确的信息,这很烦人,因为这会更改字符串/代码低于此值,有时在修复原始的
错误时没有注意到,离开其他字符串或代码中添加的空格等。
现在,我知道自动关闭引号,这不是问题,当我放置一个字符串时我会得到""但是,正常情况下:如果您编辑或粘贴没有收盘报价的字符串,那么当您完成编辑该行或保存项目时,2013将自动为您提供结束报价
,而2105则不会创建全部各种各样的错误。
是否有这样的选项,或者现在是这样的?
谢谢。
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.
这篇关于Visual Studio 2015基本问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!