-
Notifications
You must be signed in to change notification settings - Fork 196
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
using statement
C# snippet doesn't work
#11189
Comments
Scratch that. Saw it was statement not directive. Filter out is fine with me |
Could also be a bug in the editor, not handling snippets with a space in them. It's the only one I could find, so suspicious its the only one that doesn't work |
Let's filter out for now. |
I know I agreed to filter it out, but I found the source of the issue! The snippet itself is sent as a plain text snippet with no placeholder. I think we can just fix on the Roslyn side |
I stand by my previous statement, except replace "editor" with "Roslyn". Looks like this snippet is not supported by Inline Completion (https://github.com/dotnet/roslyn/blob/main/src/LanguageServer/Protocol/Handler/InlineCompletions/InlineCompletionsHandler.cs#L40) so perhaps just shouldn't be showing up |
Reported by @AdmiralSnyder on Discord
Screen_Recording_2024-11-08_140733.mp4
I had a quick play and it seems like maybe
using statement
is the only snippet that doesn't work. Perhaps we should just filter it out?The text was updated successfully, but these errors were encountered: