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

Do not put an equals and quotes when completing an xml attribute if present #72508

Merged
merged 8 commits into from
Mar 21, 2024

Conversation

ghost
Copy link

@ghost ghost commented Mar 12, 2024

Closes #72259

To address this issue, this pr will check to see if there's an Equals token already next to the completion. If there is, we don't place the ="" and only replace the word meant to be completed.

To note about the VB change: it seems the completion on VB works differently and didn't supported this scheme of completion (I tried a unit test and it wasn't even something in the list). So this effectively leaves VB as is.

@ghost ghost self-requested a review as a code owner March 12, 2024 17:15
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Mar 12, 2024
@dotnet-policy-service dotnet-policy-service bot added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Mar 12, 2024
@ghost
Copy link
Author

ghost commented Mar 13, 2024

@CyrusNajmabadi Should be ready for another round of review

@ghost
Copy link
Author

ghost commented Mar 19, 2024

@CyrusNajmabadi This one was ready for another round, should be very close to merge, but the CI is failing for another reason.

@CyrusNajmabadi
Copy link
Member

Thanks!

@ghost
Copy link
Author

ghost commented Mar 19, 2024

@CyrusNajmabadi Seems the CI test is being flaky here (tried to run one that failed locally and it passed)

@ghost
Copy link
Author

ghost commented Mar 19, 2024

@CyrusNajmabadi and CI failed again, I don't know why it behaves like this, I try to check the errors, but it doesn't help me much...

@CyrusNajmabadi
Copy link
Member

it's not you. it's us :)

@CyrusNajmabadi CyrusNajmabadi merged commit 460975c into dotnet:main Mar 21, 2024
27 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Mar 21, 2024
@CyrusNajmabadi
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doc comment completions should not insert ="" if there is already one
4 participants