Skip to content

Investigate if adding a quote should not trigger quote-completion in the case that it would terminate an existing string. #59178

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:VS2019]
When splitting a quoted string to make a change, it used to handle the condition of adding a new opening quote on a string by not doubling it up. VS2022 is now being very stupid about it.

"This string is to be split"

"This string" + n + is to be split."

When you add the " in front of is you get

"This string" + n + ""is to be split."

Now, if you are using AI for smart intellisense and using Roslyn for smart compiling and tool support, why is this one not working now? It used to work in VS2019.


Original Comments

Feedback Bot on 1/26/2022, 08:05 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

Labels

Area-IDEBugDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.comResolution-FixedThe bug has been fixed and/or the requested behavior has been implemented

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions