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

Remove C#s using snippet from completion #11272

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

davidwengier
Copy link
Contributor

Fixes #11189

Previously we would change "using" to "using statement" in completion. Completing this item would insert "using statement" into the document, which not valid Razor or C#. Inline completion also wouldn't work because "statement" is not a valid C# snippet. Removing it means we leave our using keyword and using directive snippet completion items in place, and our using keyword works fine with inline completion, because completion item type doesn't matter at that point.

@davidwengier davidwengier requested a review from a team as a code owner December 4, 2024 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using statement C# snippet doesn't work
2 participants