You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They unfortunately weren't captured in the initial batch of migrations to the new structured snippet API as they didn't use {insert,replace}_snippet, which is what I used to figure out which assists needed migrating.
Note that because the structured snippet API (add_{tabstop,placeholder}_*) relies on syntax nodes, they must also be migrated away from using insert and replace.
The text was updated successfully, but these errors were encountered:
…=Veykril
fix: Only generate snippets for `extract_expressions_from_format_string` if snippets are supported
Part of #17332
Fixes `extract_expressions_from_format_string` so that it doesn't generate snippets if the client doesn't support it.
These assists always generate a snippet regardless of if the LSP client does or doesn't support the snippet text edit capability:
extract_expressions_from_format_string
fix: Only generate snippets forextract_expressions_from_format_string
if snippets are supported #17333generate_constant
generate_mut_trait_impl
They unfortunately weren't captured in the initial batch of migrations to the new structured snippet API as they didn't use
{insert,replace}_snippet
, which is what I used to figure out which assists needed migrating.Note that because the structured snippet API (
add_{tabstop,placeholder}_*
) relies on syntax nodes, they must also be migrated away from usinginsert
andreplace
.The text was updated successfully, but these errors were encountered: