Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio adds second quotation mark in unappropriate situations #59427 [Still not fixed] #76138

Closed
DrPepperBianco opened this issue Nov 28, 2024 · 1 comment
Labels

Comments

@DrPepperBianco
Copy link

@DrPepperBianco It appears that the majority case for this issue was already fixed for the 17.2 release. Can you clarify the exact scenario that you are running into that is still causing problems?

Originally posted by @sharwell in #59427

@sharwell I am a little bit lost. You said the majority is fixed, but it is not at all fixed for me.

A very simple scanrio:

I have code like this:

string @string = FooBar;

And I want to add Quotes. I position the cursor bevor FooBar and hit »"«. The result is this:

string @string = ""FooBar;

With the cursor being between the quotes.

In practice, I usually end up with something like this:

string @string = ""FooBar";

because my muscle memory typed the quote before, then end, arrow-left, quotation after the word, before I realized that Visual Studio broke the code again.

PS: For some reason, I couldn’t answer to you question, but had to create a new issue instead. Sorry for the inconvenvience.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 28, 2024
@CyrusNajmabadi
Copy link
Member

Closing as dupe of #71898.

@CyrusNajmabadi CyrusNajmabadi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants